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] [dev-tools] Script to find recent top committers for a module (#19053) #19395

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

ycombinator
Copy link
Contributor

Backports the following commits to 7.x:

…c#19053)

* Init checkin

* Adding set

* Removing unnecessary variable

* Breaking up into functions
@ycombinator ycombinator added [zube]: In Review backport Team:Platforms Label for the Integrations - Platforms team labels Jun 25, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 25, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 25, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 25, 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: [Branch indexing]

  • Start Time: 2020-06-26T15:08:51.057+0000

  • Duration: 123 min 4 sec

Test stats 🧪

Test Results
Failed 0
Passed 7611
Skipped 1517
Total 9128

Steps errors

Expand to view the steps failures

  • Name: Make -C libbeat testsuite

    • Description: make -C libbeat testsuite

    • Duration: 6 min 48 sec

    • Start Time: 2020-06-26T15:32:59.059+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

    • Duration: 2 min 22 sec

    • Start Time: 2020-06-26T16:33:36.999+0000

    • log

  • Name: Restore files previously stashed

    • Description: terraform-x-pack-metricbeat

    • Duration: 0 min 0 sec

    • Start Time: 2020-06-26T17:03:37.172+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

    • Duration: 1 min 28 sec

    • Start Time: 2020-06-26T16:39:43.225+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-26T17:11:12.025Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-26T17:11:12.025Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-26T17:11:12.025Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-26T17:11:13.168Z] Failed in branch Filebeat x-pack
[2020-06-26T17:11:13.571Z] Failed in branch Filebeat oss
[2020-06-26T17:11:13.793Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats
[2020-06-26T17:11:14.136Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-26T17:11:14.151Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Lint
[2020-06-26T17:11:14.320Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Libbeat-oss
[2020-06-26T17:11:14.762Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-26T17:11:15.030Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-26T17:11:15.201Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-26T17:11:15.348Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-06-26T17:11:15.550Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-06-26T17:11:15.687Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-26T17:11:15.834Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-26T17:11:15.962Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-26T17:11:16.084Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-26T17:11:16.214Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-26T17:11:16.439Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-26T17:11:16.569Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-26T17:11:16.743Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-26T17:11:16.888Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-26T17:11:17.055Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-06-26T17:11:17.191Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-26T17:11:17.368Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-26T17:11:17.511Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-26T17:11:17.645Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-06-26T17:11:17.782Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-06-26T17:11:17.918Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-26T17:11:18.069Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-26T17:11:18.186Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-26T17:11:18.353Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-26T17:11:18.607Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-26T17:11:18.739Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-06-26T17:11:18.912Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-26T17:11:19.066Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-06-26T17:11:19.264Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-26T17:11:19.430Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-06-26T17:11:19.612Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-06-26T17:11:19.792Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-26T17:11:19.927Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-26T17:11:20.057Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-oss
[2020-06-26T17:11:20.196Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-26T17:11:20.615Z] + cat
[2020-06-26T17:11:20.615Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-26T17:11:20.615Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-26T17:11:27.321Z] runbld>>> runbld started
[2020-06-26T17:11:27.321Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-06-26T17:11:28.802Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19395' in order of occurrence in the config (last value wins).
[2020-06-26T17:11:30.228Z] runbld>>> Debug logging enabled.
[2020-06-26T17:11:30.228Z] runbld>>> Storing result
[2020-06-26T17:11:30.228Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-26T17:11:30.228Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200626171129-A8F2BE9A
[2020-06-26T17:11:30.228Z] runbld>>> Adding system facts.
[2020-06-26T17:11:31.649Z] runbld>>> Adding vcs info for the latest commit:  584cd4e65c7c09da9d42b19e512cb2f01c5465b2
[2020-06-26T17:11:31.649Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-26T17:11:31.649Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-26T17:11:31.649Z] Processing JUnit reports with runbld...
[2020-06-26T17:11:31.649Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-26T17:11:31.918Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-26T17:11:31.918Z] runbld>>> DURATION: 21ms
[2020-06-26T17:11:31.918Z] runbld>>> STDOUT: 40 bytes
[2020-06-26T17:11:31.918Z] runbld>>> STDERR: 49 bytes
[2020-06-26T17:11:31.918Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-26T17:11:31.918Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats
[2020-06-26T17:11:33.853Z] runbld>>> Storing build metadata: 
[2020-06-26T17:11:33.853Z] runbld>>> Adding test report.
[2020-06-26T17:11:33.853Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats
[2020-06-26T17:11:34.820Z] runbld>>> Found 81 test output files
[2020-06-26T17:11:35.768Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-26T17:11:35.768Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-26T17:11:37.156Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 8978 Skipped: 1297
[2020-06-26T17:11:37.156Z] runbld>>> Storing result
[2020-06-26T17:11:37.156Z] runbld>>> FAILURES: 0
[2020-06-26T17:11:37.156Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-26T17:11:37.156Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200626171129-A8F2BE9A
[2020-06-26T17:11:37.424Z] runbld>>> Email notification disabled by environment variable.
[2020-06-26T17:11:37.424Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-26T17:11:40.637Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-06-26T17:11:40.719Z] ERROR: runbld post build action failed.
[2020-06-26T17:11:40.720Z] Timeout has been exceeded
[2020-06-26T17:11:53.292Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19395
[2020-06-26T17:11:53.626Z] [INFO] getVaultSecret: Getting secrets
[2020-06-26T17:11:53.904Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-26T17:11:55.461Z] + chmod 755 generate-build-data.sh
[2020-06-26T17:11:55.461Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19395/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19395/runs/4 ABORTED 7384103
[2020-06-26T17:11:55.461Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19395/runs/4/steps/?limit=10000 -o steps-info.json
[2020-06-26T17:11:59.587Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19395/runs/4/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.

backport lgtm!

@ycombinator ycombinator merged commit 5d83abf into elastic:7.x Jun 26, 2020
@zube zube bot removed the [zube]: Done label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants