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] Improved mage demo experience #18445

Merged
merged 7 commits into from
Jun 15, 2020

Conversation

michalpristas
Copy link
Contributor

What does this PR do?

This PR significantly improved time needed to build images for creating and running docker container.
it also changes the logic of enroll and tries to find out default config id before defaulting to default

Why is it important?

To have faster builds, before that this took multitude more time than now

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 added enhancement elastic-agent Ingest Management:beta1 Group issues for ingest management beta1 labels May 12, 2020
@michalpristas michalpristas self-assigned this May 12, 2020
@elasticmachine
Copy link
Collaborator

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

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 12, 2020
@michalpristas michalpristas changed the title improved demo [Elastic Agent] Improved mage demo experience May 12, 2020
@ruflin ruflin requested a review from blakerouse May 12, 2020 11:12
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 12, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 7660
Skipped 1231
Total 8891

Steps errors

Expand to view the steps failures

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 2 min 22 sec

    • Start Time: 2020-05-14T06:39:47.961+0000

    • log

  • Name: Make -C libbeat testsuite

    • Description: make -C libbeat testsuite

    • Result: FAILURE

    • Duration: 26 min 17 sec

    • Start Time: 2020-05-14T06:50:23.729+0000

    • log

  • Name: Report to Codecov

    • Description: curl -sSLo codecov https://codecov.io/bash for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat do FILE="${i}/build/coverage/full.cov" if [ -f "${FILE}" ]; then bash codecov -f "${FILE}" fi done

    • Result: FAILURE

    • Duration: 2 min 22 sec

    • Start Time: 2020-05-14T07:03:02.498+0000

    • log

  • Name: Make -C generator/_templates/metricbeat test

    • Description: make -C generator/_templates/metricbeat test

    • Result: FAILURE

    • Duration: 7 min 22 sec

    • Start Time: 2020-05-14T07:31:21.690+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-14T07:54:13.207Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.207Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.207Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.207Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.207Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.207Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-14T07:54:13.207Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-14T07:54:13.635Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-05-14T07:54:13.946Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-14T07:54:13.960Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Lint
[2020-05-14T07:54:14.031Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-14T07:54:14.105Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-14T07:54:14.171Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-14T07:54:14.257Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-14T07:54:14.324Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-14T07:54:14.395Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-14T07:54:14.468Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-14T07:54:14.536Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-14T07:54:14.606Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-14T07:54:14.677Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-05-14T07:54:14.757Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-14T07:54:14.828Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-14T07:54:14.900Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-14T07:54:14.968Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-14T07:54:15.035Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-14T07:54:15.097Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-14T07:54:15.158Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-05-14T07:54:15.221Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-14T07:54:15.283Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-14T07:54:15.345Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-14T07:54:15.407Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-05-14T07:54:15.470Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-14T07:54:15.532Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-14T07:54:15.595Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-14T07:54:15.657Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-14T07:54:15.722Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-Mac-OS-X
[2020-05-14T07:54:15.786Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-14T07:54:15.847Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-oss
[2020-05-14T07:54:15.909Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-oss
[2020-05-14T07:54:15.972Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-14T07:54:16.035Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-14T07:54:16.099Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-14T07:54:16.170Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-14T07:54:16.242Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-14T07:54:16.310Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-05-14T07:54:16.384Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-05-14T07:54:16.448Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-14T07:54:16.798Z] + cat
[2020-05-14T07:54:16.798Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-14T07:54:16.798Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-14T07:54:23.400Z] runbld>>> runbld started
[2020-05-14T07:54:23.400Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-14T07:54:24.792Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18445' in order of occurrence in the config (last value wins).
[2020-05-14T07:54:26.183Z] runbld>>> Debug logging enabled.
[2020-05-14T07:54:26.184Z] runbld>>> Storing result
[2020-05-14T07:54:26.184Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-14T07:54:26.184Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200514075425-6559D72A
[2020-05-14T07:54:26.184Z] runbld>>> Adding system facts.
[2020-05-14T07:54:27.136Z] runbld>>> Adding vcs info for the latest commit:  138769e29aeb090014b88b993fc0f6deec6a1728
[2020-05-14T07:54:27.136Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-14T07:54:27.136Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-14T07:54:27.136Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-14T07:54:27.399Z] Processing JUnit reports with runbld...
[2020-05-14T07:54:27.663Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-14T07:54:27.663Z] runbld>>> DURATION: 8ms
[2020-05-14T07:54:27.663Z] runbld>>> STDOUT: 40 bytes
[2020-05-14T07:54:27.663Z] runbld>>> STDERR: 49 bytes
[2020-05-14T07:54:27.663Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-14T07:54:27.663Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-05-14T07:54:29.055Z] runbld>>> Storing build metadata: 
[2020-05-14T07:54:29.055Z] runbld>>> Adding test report.
[2020-05-14T07:54:29.055Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-05-14T07:54:30.002Z] runbld>>> Found 102 test output files
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-14T07:54:30.581Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-14T07:54:31.158Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-14T07:54:31.421Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-14T07:54:31.685Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 8741 Skipped: 1015
[2020-05-14T07:54:31.685Z] runbld>>> Storing result
[2020-05-14T07:54:31.685Z] runbld>>> FAILURES: 0
[2020-05-14T07:54:31.947Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-14T07:54:31.947Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200514075425-6559D72A
[2020-05-14T07:54:31.947Z] runbld>>> Email notification disabled by environment variable.
[2020-05-14T07:54:31.947Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-14T07:54:37.925Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445
[2020-05-14T07:54:38.194Z] [INFO] getVaultSecret: Getting secrets
[2020-05-14T07:54:38.246Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-14T07:54:39.033Z] + chmod 755 generate-build-data.sh
[2020-05-14T07:54:39.033Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/9 FAILURE 5841038
[2020-05-14T07:54:39.284Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/9/steps/?limit=10000 -o steps-info.json
[2020-05-14T07:54:40.195Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/9/tests/?status=FAILED -o tests-errors.json

@andresrc andresrc removed the needs_team Indicates that the issue/PR needs a Team:* label label May 13, 2020
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

@elasticmachine
Copy link
Collaborator

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #18445 updated]

  • Start Time: 2020-06-12T11:16:52.809+0000

  • Duration: 79 min 56 sec

Test stats 🧪

Test Results
Failed 1
Passed 9436
Skipped 1574
Total 11011

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat Mac OS X / test_clean_removed_with_clean_inactive – test_registrar.Test
    • Age: 1
    • Duration: 1.217
    • Error Details:
      -------------------- >> begin captured stdout << ---------------------
      registry size: 2
      registry size after remove: 2

--------------------- >> end captured stdout << ----------------------

Steps errors

Expand to view the steps failures

  • Name: Mage build unitTest

    • Description: mage build unitTest

    • Duration: 11 min 27 sec

    • Start Time: 2020-06-12T11:39:21.068+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 1

    • Duration: 0 min 14 sec

    • Start Time: 2020-06-12T11:52:36.915+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-12T12:35:15.475Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-12T12:35:15.475Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-12T12:35:15.475Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-12T12:35:15.475Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-12T12:35:18.087Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-06-12T12:35:18.429Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-12T12:35:18.454Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Lint
[2020-06-12T12:35:18.614Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-06-12T12:35:18.772Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-12T12:35:18.930Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-12T12:35:19.091Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-12T12:35:19.252Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-06-12T12:35:19.412Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-06-12T12:35:19.570Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-12T12:35:19.732Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-12T12:35:19.889Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-12T12:35:20.050Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-12T12:35:20.211Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-06-12T12:35:20.374Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-12T12:35:20.536Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-06-12T12:35:20.695Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-12T12:35:20.855Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-12T12:35:21.018Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-06-12T12:35:21.177Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-12T12:35:21.334Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-12T12:35:21.492Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-12T12:35:21.652Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-12T12:35:21.813Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-06-12T12:35:21.976Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-12T12:35:22.136Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-12T12:35:22.299Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-12T12:35:22.458Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-12T12:35:22.618Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-06-12T12:35:22.778Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-12T12:35:22.938Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-12T12:35:23.097Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-12T12:35:23.257Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-12T12:35:23.419Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-12T12:35:23.576Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-12T12:35:23.739Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-12T12:35:23.904Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-12T12:35:24.143Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Functionbeat-Windows
[2020-06-12T12:35:24.303Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-12T12:35:24.474Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-oss
[2020-06-12T12:35:24.636Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-12T12:35:24.796Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-oss
[2020-06-12T12:35:24.957Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-06-12T12:35:25.119Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-06-12T12:35:25.278Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-06-12T12:35:25.439Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-06-12T12:35:25.597Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-06-12T12:35:25.756Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-12T12:35:26.204Z] + cat
[2020-06-12T12:35:26.204Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-12T12:35:26.204Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-12T12:35:32.791Z] runbld>>> runbld started
[2020-06-12T12:35:32.791Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-12T12:35:34.173Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18445' in order of occurrence in the config (last value wins).
[2020-06-12T12:35:35.110Z] runbld>>> Debug logging enabled.
[2020-06-12T12:35:35.110Z] runbld>>> Storing result
[2020-06-12T12:35:35.369Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-12T12:35:35.369Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200612123534-A5F946E9
[2020-06-12T12:35:35.369Z] runbld>>> Adding system facts.
[2020-06-12T12:35:36.316Z] runbld>>> Adding vcs info for the latest commit:  e4f667f4369c4dcd030bde22690b839fb1900def
[2020-06-12T12:35:36.316Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-12T12:35:36.316Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-12T12:35:36.316Z] Processing JUnit reports with runbld...
[2020-06-12T12:35:36.316Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-12T12:35:36.886Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-12T12:35:36.886Z] runbld>>> DURATION: 12ms
[2020-06-12T12:35:36.886Z] runbld>>> STDOUT: 40 bytes
[2020-06-12T12:35:36.886Z] runbld>>> STDERR: 49 bytes
[2020-06-12T12:35:36.886Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-12T12:35:36.886Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-06-12T12:35:38.269Z] runbld>>> Storing build metadata: 
[2020-06-12T12:35:38.269Z] runbld>>> Adding test report.
[2020-06-12T12:35:38.269Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats
[2020-06-12T12:35:39.651Z] runbld>>> Found 115 test output files
[2020-06-12T12:35:39.652Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-12T12:35:39.652Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-12T12:35:39.913Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-12T12:35:41.829Z] runbld>>> Test output logs contained: Errors: 0 Failures: 1 Tests: 10861 Skipped: 1335
[2020-06-12T12:35:41.829Z] runbld>>> Storing result
[2020-06-12T12:35:41.829Z] runbld>>> FAILURES: 1
[2020-06-12T12:35:42.089Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-12T12:35:42.089Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200612123534-A5F946E9
[2020-06-12T12:35:42.089Z] runbld>>> Email notification disabled by environment variable.
[2020-06-12T12:35:42.089Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-12T12:35:47.892Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18445
[2020-06-12T12:35:48.188Z] [INFO] getVaultSecret: Getting secrets
[2020-06-12T12:35:48.265Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-12T12:35:49.213Z] + chmod 755 generate-build-data.sh
[2020-06-12T12:35:49.213Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/2 FAILURE 4736131
[2020-06-12T12:35:49.213Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/2/steps/?limit=10000 -o steps-info.json
[2020-06-12T12:35:51.075Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18445/runs/2/tests/?status=FAILED -o tests-errors.json

@michalpristas michalpristas merged commit 18aed2c into elastic:master Jun 15, 2020
v1v added a commit to v1v/beats that referenced this pull request Jun 15, 2020
…ngs-archive

* upstream/master:
  Fix minor spelling error in Jenkinsfile (elastic#19153)
  [CI] fail if not possible to install python3 (elastic#19164)
  [Elastic Agent] Improved mage demo experience (elastic#18445)
  [yum] Clear cached data and add retry loop (elastic#19182)
  fix lint job by updating NOTICE (elastic#19161)
  Fix tags for coredns/envoyproxy (elastic#19134)
  Disable host.* fields by default for CrowdStrike module (elastic#19132)
  Allow host.* fields to be disabled in Zeek module (elastic#19113)
  Rename to management.Manager, add UpdateStatus to Manager interface. (elastic#19114)
  Edit Elastic Agent docs (elastic#19146)
  [JJBB] create job definition for the golang-crossbuild project (elastic#19162)
  Fix incorrect usage of hints builder when exposed port is a substring of the hint (elastic#19052)
  Add basic cloudfoundry integration tests (elastic#19018)
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants