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

[7.x] Avoid duplicate names in dynamic_templates (#18849) #18891

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

simitt
Copy link
Contributor

@simitt simitt commented Jun 2, 2020

Backports the following commits to 7.x:

When multiple dynamic templates are detected for the same field, add the
matching type to the template name for uniqueness.

closes elastic#17203
@simitt simitt added the backport label Jun 2, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 2, 2020
@simitt simitt added the Team:Integrations Label for the Integrations team label Jun 2, 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 Jun 2, 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 #18891 opened]

  • Start Time: 2020-06-02T09:36:56.377+0000

  • Duration: 75 min 58 sec

Test stats 🧪

Test Results
Failed 6
Passed 6638
Skipped 1066
Total 7710

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – channels

    • Age: 1
    • Duration: 21.57
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – channels

    • Age: 1
    • Duration: 9.91
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – stats

    • Age: 1
    • Duration: 39.18
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – stats

    • Age: 1
    • Duration: 9.86
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – subscriptions

    • Age: 1
    • Duration: 58.87
    • Error Details: Failed
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestFetch – subscriptions

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

Steps errors

Expand to view the steps failures

  • Name: Mage build test
    • Description: mage build test

    • Duration: 30 min 22 sec

    • Start Time: 2020-06-02T10:04:05.214+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-02T10:51:20.545Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-02T10:51:20.545Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-02T10:51:20.545Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-02T10:51:23.697Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats
[2020-06-02T10:51:24.041Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-02T10:51:24.065Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Lint
[2020-06-02T10:51:24.210Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-02T10:51:24.356Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-02T10:51:24.505Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-02T10:51:24.654Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-02T10:51:24.799Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-02T10:51:24.945Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-02T10:51:25.169Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-02T10:51:25.320Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-02T10:51:25.475Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-02T10:51:25.620Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-02T10:51:25.762Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-02T10:51:25.907Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-02T10:51:26.053Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-02T10:51:26.204Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-02T10:51:26.352Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-02T10:51:26.498Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-02T10:51:26.641Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-02T10:51:26.783Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-02T10:51:26.927Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-02T10:51:27.074Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-02T10:51:27.221Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-02T10:51:27.368Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-02T10:51:27.513Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-02T10:51:27.657Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-02T10:51:27.803Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-02T10:51:27.944Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-02T10:51:28.085Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-02T10:51:28.232Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Filebeat-oss
[2020-06-02T10:51:28.380Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-02T10:51:28.523Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-02T10:51:28.670Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Libbeat-oss
[2020-06-02T10:51:28.814Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-02T10:51:28.959Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-06-02T10:51:29.107Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-06-02T10:51:29.545Z] + cat
[2020-06-02T10:51:29.545Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-02T10:51:29.545Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-02T10:51:36.176Z] runbld>>> runbld started
[2020-06-02T10:51:36.176Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-02T10:51:38.732Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18891' in order of occurrence in the config (last value wins).
[2020-06-02T10:51:39.676Z] runbld>>> Debug logging enabled.
[2020-06-02T10:51:39.676Z] runbld>>> Storing result
[2020-06-02T10:51:39.940Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-02T10:51:39.940Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602105139-14088DC2
[2020-06-02T10:51:39.940Z] runbld>>> Adding system facts.
[2020-06-02T10:51:40.890Z] runbld>>> Adding vcs info for the latest commit:  1e51bb3c514f0031d0f0e93078403e0cc3a2de82
[2020-06-02T10:51:41.152Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-02T10:51:41.152Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-02T10:51:41.152Z] Processing JUnit reports with runbld...
[2020-06-02T10:51:41.152Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-02T10:51:41.414Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-02T10:51:41.414Z] runbld>>> DURATION: 12ms
[2020-06-02T10:51:41.414Z] runbld>>> STDOUT: 40 bytes
[2020-06-02T10:51:41.414Z] runbld>>> STDERR: 49 bytes
[2020-06-02T10:51:41.414Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-02T10:51:41.414Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats
[2020-06-02T10:51:42.823Z] runbld>>> Storing build metadata: 
[2020-06-02T10:51:42.823Z] runbld>>> Adding test report.
[2020-06-02T10:51:42.823Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats
[2020-06-02T10:51:44.222Z] runbld>>> Found 98 test output files
[2020-06-02T10:51:44.485Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-02T10:51:44.485Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-02T10:51:44.748Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-02T10:51:46.140Z] runbld>>> Test output logs contained: Errors: 0 Failures: 6 Tests: 7560 Skipped: 866
[2020-06-02T10:51:46.140Z] runbld>>> Storing result
[2020-06-02T10:51:46.140Z] runbld>>> FAILURES: 6
[2020-06-02T10:51:47.526Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-02T10:51:47.526Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602105139-14088DC2
[2020-06-02T10:51:47.526Z] runbld>>> Email notification disabled by environment variable.
[2020-06-02T10:51:47.526Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-02T10:51:53.103Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18891
[2020-06-02T10:51:53.270Z] [INFO] getVaultSecret: Getting secrets
[2020-06-02T10:51:53.334Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-02T10:51:54.336Z] + chmod 755 generate-build-data.sh
[2020-06-02T10:51:54.336Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18891/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18891/runs/1 FAILURE 4497687
[2020-06-02T10:51:54.336Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18891/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-02T10:51:55.680Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18891/runs/1/tests/?status=FAILED -o tests-errors.json

@simitt
Copy link
Contributor Author

simitt commented Jun 2, 2020

failing tests seem unrelated

@simitt simitt merged commit 7dabaf0 into elastic:7.x Jun 2, 2020
@simitt simitt deleted the backport/7.x/pr-18849 branch August 4, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants