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 #18876 to 7.x: Agent verifies packages before using them #18928

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

michalpristas
Copy link
Contributor

Cherry-pick of PR #18876 to 7.x branch. Original message:

What does this PR do?

This PR enables hash verification of downloaded tar/zip packages and dont proceed with installation if package is corrupted.
In order to do that we have to include sha512 hashes while packaging.

Why is it important?

This is important in case repo contains invalid archive or somebody tempered content of tar package.
We still need to verify signature (will be done in a followup)

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.

Fixes: #17915

…8876)

[Ingest Manager] Agent verifies packages before using them (elastic#18876)
@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 Jun 3, 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 #18928 opened]

  • Start Time: 2020-06-03T11:39:00.325+0000

  • Duration: 122 min 16 sec

Test stats 🧪

Test Results
Failed 7
Passed 6507
Skipped 1061
Total 7575

Test errors

Expand to view the tests failures

  • Name: Build and Test / Metricbeat OSS Unit tests / test_process – test_system.Test

    • Age: 1
    • Duration: 1.856
    • Error Details: False is not true : fd not found in any process events
  • Name: Build and Test / Metricbeat x-pack / Metricbeat x-pack / TestData – channels

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

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

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

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

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

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

Steps errors

Expand to view the steps failures

  • Name: Make -C libbeat testsuite

    • Description: make -C libbeat testsuite

    • Duration: 31 min 31 sec

    • Start Time: 2020-06-03T12:02:03.333+0000

    • log

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 11 min 11 sec

    • Start Time: 2020-06-03T12:02:07.798+0000

    • log

  • Name: Mage build test

    • Description: mage build test

    • Duration: 28 min 20 sec

    • Start Time: 2020-06-03T12:04:20.779+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-03T13:40:42.299Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-03T13:40:42.299Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-03T13:40:42.299Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-03T13:40:43.839Z] Failed in branch Auditbeat x-pack
[2020-06-03T13:40:45.417Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-03T13:40:45.758Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-03T13:40:45.783Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Lint
[2020-06-03T13:40:45.927Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-03T13:40:46.082Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-03T13:40:46.229Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-03T13:40:46.378Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-03T13:40:46.535Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-03T13:40:46.680Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-03T13:40:46.824Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-03T13:40:46.978Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-03T13:40:47.133Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-03T13:40:47.294Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-03T13:40:47.450Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-03T13:40:47.601Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-03T13:40:47.764Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-03T13:40:47.920Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-03T13:40:48.066Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-03T13:40:48.211Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-03T13:40:48.359Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-03T13:40:48.513Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-03T13:40:48.670Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-03T13:40:48.817Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-03T13:40:48.964Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-03T13:40:49.108Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-03T13:40:49.260Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-03T13:40:49.417Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-03T13:40:49.568Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-03T13:40:49.711Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-03T13:40:49.866Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-oss
[2020-06-03T13:40:50.018Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-03T13:40:50.170Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-oss
[2020-06-03T13:40:50.321Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-03T13:40:50.474Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-03T13:40:50.622Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-03T13:40:51.062Z] + cat
[2020-06-03T13:40:51.062Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-03T13:40:51.062Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-03T13:40:59.229Z] runbld>>> runbld started
[2020-06-03T13:40:59.229Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-03T13:41:00.185Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18928' in order of occurrence in the config (last value wins).
[2020-06-03T13:41:01.586Z] runbld>>> Debug logging enabled.
[2020-06-03T13:41:01.586Z] runbld>>> Storing result
[2020-06-03T13:41:01.851Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-03T13:41:01.851Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200603134101-AFCF1BCA
[2020-06-03T13:41:01.851Z] runbld>>> Adding system facts.
[2020-06-03T13:41:02.800Z] runbld>>> Adding vcs info for the latest commit:  7f5fa45f9ee29ac62cae2dd10cecfccb9722c023
[2020-06-03T13:41:03.062Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-03T13:41:03.062Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-03T13:41:03.062Z] Processing JUnit reports with runbld...
[2020-06-03T13:41:03.062Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-03T13:41:03.636Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-03T13:41:03.636Z] runbld>>> DURATION: 15ms
[2020-06-03T13:41:03.636Z] runbld>>> STDOUT: 40 bytes
[2020-06-03T13:41:03.636Z] runbld>>> STDERR: 49 bytes
[2020-06-03T13:41:03.636Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-03T13:41:03.636Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-03T13:41:05.023Z] runbld>>> Storing build metadata: 
[2020-06-03T13:41:05.023Z] runbld>>> Adding test report.
[2020-06-03T13:41:05.023Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-03T13:41:05.968Z] runbld>>> Found 96 test output files
[2020-06-03T13:41:06.230Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-03T13:41:06.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-03T13:41:06.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-03T13:41:06.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-03T13:41:06.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-03T13:41:06.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-03T13:41:06.753Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-03T13:41:06.753Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-03T13:41:08.147Z] runbld>>> Test output logs contained: Errors: 0 Failures: 7 Tests: 7425 Skipped: 861
[2020-06-03T13:41:08.147Z] runbld>>> Storing result
[2020-06-03T13:41:08.147Z] runbld>>> FAILURES: 7
[2020-06-03T13:41:09.543Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-03T13:41:09.543Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200603134101-AFCF1BCA
[2020-06-03T13:41:09.543Z] runbld>>> Email notification disabled by environment variable.
[2020-06-03T13:41:09.543Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-03T13:41:15.214Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928
[2020-06-03T13:41:15.406Z] [INFO] getVaultSecret: Getting secrets
[2020-06-03T13:41:15.495Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-03T13:41:16.499Z] + chmod 755 generate-build-data.sh
[2020-06-03T13:41:16.499Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/1 FAILURE 7335901
[2020-06-03T13:41:16.499Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-03T13:41:17.842Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/1/tests/?status=FAILED -o tests-errors.json

Copy link
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

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

Backport looks good.

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by user Michal Pristas, Replayed #2]

  • Start Time: 2020-06-04T05:35:16.752+0000

  • Duration: 124 min 5 sec

Test stats 🧪

Test Results
Failed 6
Passed 6617
Skipped 1066
Total 7689

Test errors

Expand to view the tests failures

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

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

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

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

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

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

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

Steps errors

Expand to view the steps failures

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

    • Duration: 29 min 21 sec

    • Start Time: 2020-06-04T06:04:36.909+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-04T07:38:52.488Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-04T07:38:52.488Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-04T07:38:52.488Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-04T07:38:53.933Z] Failed in branch Auditbeat x-pack
[2020-06-04T07:38:54.044Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-04T07:38:54.350Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-04T07:38:54.362Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Lint
[2020-06-04T07:38:54.438Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-04T07:38:54.503Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-04T07:38:54.572Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-04T07:38:54.637Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-04T07:38:54.703Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-04T07:38:54.769Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-04T07:38:54.836Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-04T07:38:54.902Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-04T07:38:54.969Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-04T07:38:55.035Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-04T07:38:55.101Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-04T07:38:55.167Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-04T07:38:55.234Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-04T07:38:55.303Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-04T07:38:55.369Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-04T07:38:55.436Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-04T07:38:55.504Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-04T07:38:55.571Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-04T07:38:55.638Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-04T07:38:55.775Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-04T07:38:55.847Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-04T07:38:55.916Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-04T07:38:55.987Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-04T07:38:56.056Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-04T07:38:56.123Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-04T07:38:56.188Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-04T07:38:56.254Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Filebeat-oss
[2020-06-04T07:38:56.320Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-04T07:38:56.387Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-04T07:38:56.453Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-oss
[2020-06-04T07:38:56.518Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-06-04T07:38:56.586Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-06-04T07:38:56.651Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-04T07:38:56.721Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-04T07:38:57.082Z] + cat
[2020-06-04T07:38:57.082Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-04T07:38:57.082Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-04T07:39:03.694Z] runbld>>> runbld started
[2020-06-04T07:39:03.694Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-04T07:39:06.253Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18928' in order of occurrence in the config (last value wins).
[2020-06-04T07:39:07.193Z] runbld>>> Debug logging enabled.
[2020-06-04T07:39:07.193Z] runbld>>> Storing result
[2020-06-04T07:39:07.457Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-04T07:39:07.457Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200604073906-9084C7B4
[2020-06-04T07:39:07.457Z] runbld>>> Adding system facts.
[2020-06-04T07:39:08.405Z] runbld>>> Adding vcs info for the latest commit:  7f5fa45f9ee29ac62cae2dd10cecfccb9722c023
[2020-06-04T07:39:08.406Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-04T07:39:08.667Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-04T07:39:08.667Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-04T07:39:08.667Z] Processing JUnit reports with runbld...
[2020-06-04T07:39:08.930Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-04T07:39:08.930Z] runbld>>> DURATION: 22ms
[2020-06-04T07:39:08.930Z] runbld>>> STDOUT: 40 bytes
[2020-06-04T07:39:08.930Z] runbld>>> STDERR: 49 bytes
[2020-06-04T07:39:08.930Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-04T07:39:08.930Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-04T07:39:10.316Z] runbld>>> Storing build metadata: 
[2020-06-04T07:39:10.316Z] runbld>>> Adding test report.
[2020-06-04T07:39:10.316Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats
[2020-06-04T07:39:11.702Z] runbld>>> Found 97 test output files
[2020-06-04T07:39:11.702Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-04T07:39:11.963Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-04T07:39:11.963Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-04T07:39:11.963Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-04T07:39:11.964Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-04T07:39:11.964Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-04T07:39:11.964Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-04T07:39:12.227Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-04T07:39:13.618Z] runbld>>> Test output logs contained: Errors: 0 Failures: 6 Tests: 7539 Skipped: 866
[2020-06-04T07:39:13.618Z] runbld>>> Storing result
[2020-06-04T07:39:13.618Z] runbld>>> FAILURES: 6
[2020-06-04T07:39:15.004Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-04T07:39:15.004Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200604073906-9084C7B4
[2020-06-04T07:39:15.004Z] runbld>>> Email notification disabled by environment variable.
[2020-06-04T07:39:15.004Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-04T07:39:20.961Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18928
[2020-06-04T07:39:21.189Z] [INFO] getVaultSecret: Getting secrets
[2020-06-04T07:39:21.234Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-04T07:39:22.004Z] + chmod 755 generate-build-data.sh
[2020-06-04T07:39:22.004Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/3 FAILURE 7444991
[2020-06-04T07:39:22.004Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/3/steps/?limit=10000 -o steps-info.json
[2020-06-04T07:39:23.348Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/3/tests/?status=FAILED -o tests-errors.json
[2020-06-04T07:39:24.259Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18928/runs/3/log/ -o pipeline-log.txt

@michalpristas michalpristas merged commit 2d238ff into elastic:7.x Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport enhancement Ingest Management:beta1 Group issues for ingest management beta1 review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants