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] Make error message actionable (#18667) #18686

Merged
merged 2 commits into from
May 27, 2020

Conversation

ycombinator
Copy link
Contributor

Backports the following commits to 7.x:

* Make error message actionable

* Adding CHANGELOG entry
@ycombinator ycombinator added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels May 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

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

elasticmachine commented May 21, 2020

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Pull request #18686 updated]

  • Start Time: 2020-05-22T13:57:30.204+0000

  • Duration: 122 min 13 sec

Test stats 🧪

Test Results
Failed 0
Passed 6597
Skipped 1053
Total 7650

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

    • Duration: 2 min 22 sec

    • Start Time: 2020-05-22T14:24:43.208+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-22T15:59:16.281Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=filebeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-22T15:59:16.281Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-22T15:59:16.281Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-22T15:59:17.536Z] Failed in branch Auditbeat x-pack
[2020-05-22T15:59:17.650Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats
[2020-05-22T15:59:17.964Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-22T15:59:17.980Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Lint
[2020-05-22T15:59:18.076Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-22T15:59:18.152Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-22T15:59:18.221Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-22T15:59:18.292Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-22T15:59:18.371Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-22T15:59:18.441Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-22T15:59:18.508Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-22T15:59:18.575Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-22T15:59:18.642Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-22T15:59:18.715Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-22T15:59:18.792Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-22T15:59:18.867Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-22T15:59:18.938Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-22T15:59:19.012Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-05-22T15:59:19.080Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-22T15:59:19.149Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-22T15:59:19.220Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-22T15:59:19.291Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-22T15:59:19.360Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-22T15:59:19.435Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-05-22T15:59:19.503Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-22T15:59:19.575Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-22T15:59:19.652Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-22T15:59:19.729Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-22T15:59:19.803Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-22T15:59:19.875Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Filebeat-oss
[2020-05-22T15:59:19.949Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Libbeat-oss
[2020-05-22T15:59:20.020Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-22T15:59:20.088Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-05-22T15:59:20.157Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-05-22T15:59:20.234Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-22T15:59:20.304Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-22T15:59:20.388Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-22T15:59:20.747Z] + cat
[2020-05-22T15:59:20.747Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-22T15:59:20.747Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-22T15:59:27.356Z] runbld>>> runbld started
[2020-05-22T15:59:27.356Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-22T15:59:28.749Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18686' in order of occurrence in the config (last value wins).
[2020-05-22T15:59:30.142Z] runbld>>> Debug logging enabled.
[2020-05-22T15:59:30.142Z] runbld>>> Storing result
[2020-05-22T15:59:30.405Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-22T15:59:30.405Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200522155929-4C0EFD24
[2020-05-22T15:59:30.405Z] runbld>>> Adding system facts.
[2020-05-22T15:59:31.355Z] runbld>>> Adding vcs info for the latest commit:  baf828588dfca7f39ba268f91ed956fff6a4567c
[2020-05-22T15:59:31.355Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-22T15:59:31.355Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-22T15:59:31.355Z] Processing JUnit reports with runbld...
[2020-05-22T15:59:31.355Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-22T15:59:31.930Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-22T15:59:31.930Z] runbld>>> DURATION: 21ms
[2020-05-22T15:59:31.930Z] runbld>>> STDOUT: 40 bytes
[2020-05-22T15:59:31.930Z] runbld>>> STDERR: 49 bytes
[2020-05-22T15:59:31.930Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-22T15:59:31.930Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats
[2020-05-22T15:59:33.322Z] runbld>>> Storing build metadata: 
[2020-05-22T15:59:33.322Z] runbld>>> Adding test report.
[2020-05-22T15:59:33.322Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats
[2020-05-22T15:59:34.269Z] runbld>>> Found 96 test output files
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-22T15:59:34.848Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-22T15:59:35.427Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-22T15:59:35.427Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-22T15:59:36.004Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 7500 Skipped: 850
[2020-05-22T15:59:36.004Z] runbld>>> Storing result
[2020-05-22T15:59:36.004Z] runbld>>> FAILURES: 0
[2020-05-22T15:59:36.268Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-22T15:59:36.268Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200522155929-4C0EFD24
[2020-05-22T15:59:36.268Z] runbld>>> Email notification disabled by environment variable.
[2020-05-22T15:59:36.268Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-22T15:59:42.568Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18686
[2020-05-22T15:59:42.887Z] [INFO] getVaultSecret: Getting secrets
[2020-05-22T15:59:42.936Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-22T15:59:43.659Z] + chmod 755 generate-build-data.sh
[2020-05-22T15:59:43.660Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18686/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18686/runs/2 ABORTED 7333190
[2020-05-22T15:59:44.210Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18686/runs/2/steps/?limit=10000 -o steps-info.json
[2020-05-22T15:59:45.122Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18686/runs/2/tests/?status=FAILED -o tests-errors.json

Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

LGTM!

@ycombinator ycombinator merged commit 8133cbf into elastic:7.x May 27, 2020
@ycombinator ycombinator deleted the backport/7.x/pr-18667 branch May 27, 2020 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Services (Deprecated) Label for the former Integrations-Services team [zube]: Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants