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

[CI] skip stages if only docs changes #18315

Merged
merged 16 commits into from
May 8, 2020
Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented May 6, 2020

What does this PR do?

Skip all the stages, but the checkout and linting, in the pipeline when the changeset is only for changes in any asciidoc and png files independently where they are.

NOTE: this particular skip stages feature will only happen for the Pull Requests. In other words, any commits into any branch that are related to those docs files will trigger the builds as expected. This could be changed if required, but let's agree firstly :)

Why is it important?

Fast feedback and avoid unnecessary builds for changes that are purely docs related

How to test this PR locally

It does require a CI to validate his particular behaviour, or tweak the regex to allow changes in the Jenkinsfile and docs. I'll create a commit for testing this particular behaviour.

With a commit that enable the docs only CI

Expand to view

For instance, 7c9e214 caused the build #12

image

image

With the above commit and the run all stages

Expand to view

The build #3

image

Use cases

As a tech writer or docs contributor I do want to get early feedback without the hassle of running through the project build lifecycle.

Tasks

@v1v v1v self-assigned this May 6, 2020
@v1v v1v added the automation label May 6, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 6, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 6, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 7759
Skipped 1236
Total 8995

Log output

Expand to view the last 100 lines of log output

[2020-05-06T23:27:00.675Z] + '[' -f packetbeat/build/coverage/full.cov ']'
[2020-05-06T23:27:00.675Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-05-06T23:27:00.675Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-06T23:27:00.675Z] + '[' -f winlogbeat/build/coverage/full.cov ']'
[2020-05-06T23:27:00.675Z] + for i in auditbeat filebeat heartbeat libbeat metricbeat packetbeat winlogbeat journalbeat
[2020-05-06T23:27:00.675Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-06T23:27:00.675Z] + '[' -f journalbeat/build/coverage/full.cov ']'
[2020-05-06T23:27:02.311Z] ERROR: Ignore error temporally
[2020-05-06T23:27:02.312Z] Exception: null
[2020-05-06T23:27:02.641Z] Running on worker-c07l34n6dwym in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315
[2020-05-06T23:27:55.050Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-05-06T23:27:55.292Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-06T23:27:55.611Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-06T23:27:55.624Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Lint
[2020-05-06T23:27:55.698Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-06T23:27:55.784Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-06T23:27:55.861Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-06T23:27:55.945Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-06T23:27:56.022Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-06T23:27:56.090Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-06T23:27:56.178Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-05-06T23:27:56.248Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-06T23:27:56.327Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-06T23:27:56.417Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-06T23:27:56.505Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-06T23:27:56.591Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-06T23:27:56.678Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-06T23:27:56.767Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-06T23:27:56.857Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-06T23:27:56.942Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-06T23:27:57.023Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-05-06T23:27:57.119Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-06T23:27:57.216Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-06T23:27:57.296Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-06T23:27:57.380Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-05-06T23:27:57.461Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-06T23:27:57.548Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-06T23:27:57.628Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-06T23:27:57.713Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-06T23:27:57.799Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-oss
[2020-05-06T23:27:57.879Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-06T23:27:57.955Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Mac-OS-X
[2020-05-06T23:27:58.035Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-06T23:27:58.114Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-oss
[2020-05-06T23:27:58.195Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-06T23:27:58.276Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-06T23:27:58.356Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-06T23:27:58.450Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-05-06T23:27:58.532Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-05-06T23:27:58.612Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-06T23:27:58.691Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-06T23:27:58.766Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-05-06T23:27:59.140Z] + cat
[2020-05-06T23:27:59.140Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-06T23:27:59.140Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-06T23:28:07.268Z] runbld>>> runbld started
[2020-05-06T23:28:07.268Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-06T23:28:07.836Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18315' in order of occurrence in the config (last value wins).
[2020-05-06T23:28:09.219Z] runbld>>> Debug logging enabled.
[2020-05-06T23:28:09.219Z] runbld>>> Storing result
[2020-05-06T23:28:09.483Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-06T23:28:09.483Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200506232809-52A7E5D4
[2020-05-06T23:28:09.483Z] runbld>>> Adding system facts.
[2020-05-06T23:28:10.432Z] runbld>>> Adding vcs info for the latest commit:  37d36dc5a7f4805e69a1ef896ed0cf076251706f
[2020-05-06T23:28:10.692Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-06T23:28:10.692Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-06T23:28:10.692Z] Processing JUnit reports with runbld...
[2020-05-06T23:28:10.692Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-06T23:28:10.952Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-06T23:28:10.952Z] runbld>>> DURATION: 18ms
[2020-05-06T23:28:10.952Z] runbld>>> STDOUT: 40 bytes
[2020-05-06T23:28:10.952Z] runbld>>> STDERR: 49 bytes
[2020-05-06T23:28:10.952Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-06T23:28:10.952Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-06T23:28:12.862Z] runbld>>> Storing build metadata: 
[2020-05-06T23:28:12.862Z] runbld>>> Adding test report.
[2020-05-06T23:28:12.862Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-06T23:28:13.801Z] runbld>>> Found 103 test output files
[2020-05-06T23:28:14.382Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-06T23:28:14.382Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-06T23:28:14.382Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-06T23:28:14.382Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-06T23:28:14.646Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-06T23:28:14.646Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-06T23:28:15.218Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-06T23:28:15.479Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-06T23:28:16.052Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 8845 Skipped: 1020
[2020-05-06T23:28:16.052Z] runbld>>> Storing result
[2020-05-06T23:28:16.052Z] runbld>>> FAILURES: 0
[2020-05-06T23:28:16.313Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-06T23:28:16.313Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200506232809-52A7E5D4
[2020-05-06T23:28:16.313Z] runbld>>> Email notification disabled by environment variable.
[2020-05-06T23:28:16.313Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-06T23:28:22.608Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315
[2020-05-06T23:28:22.845Z] [INFO] getVaultSecret: Getting secrets
[2020-05-06T23:28:22.916Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-06T23:28:23.682Z] + chmod 755 generate-build-data.sh
[2020-05-06T23:28:23.682Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/10 ABORTED 7442632
[2020-05-06T23:28:24.236Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/10/steps/?limit=10000 -o steps-info.json
[2020-05-06T23:28:25.147Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/10/tests/?status=FAILED -o tests-errors.json

@v1v v1v added ci Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels May 6, 2020
@v1v v1v changed the title ci: run docs if docs changes only ci: skip stages if only docs changes May 6, 2020
@v1v v1v requested review from dedemorton, a team, ycombinator and andrewkroh May 6, 2020 14:32
@v1v v1v marked this pull request as ready for review May 6, 2020 14:36
@v1v v1v marked this pull request as draft May 6, 2020 14:53
Jenkinsfile Outdated

// Skip all the stages for PRs with changes in the docs only
env.ONLY_DOCS = !params.runAllStages &&
isGitRegionMatch(patterns: [ '^docs/.*' ], shouldMatchAll: true)
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this catch changes to files with paths such as ./auditbeat/build/docs/shared/settings60.asciidoc?

Copy link
Contributor

@ycombinator ycombinator May 6, 2020

Choose a reason for hiding this comment

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

Additionally there are also "source" doc files such as ./filebeat/docs/modules/apache.asciidoc. So I'm wondering if this check needs be more about catching changes to any files (regardless of path) that end in .asciidoc?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's indeed a good point, I actually thought it was just this initial PR, and then I found I missed the make update, so working on supporting those particular scenarios too. Thanks for the heads up :) I just moved the PR to draft to work on it.

Regarding the files, I see png files too, I don't know if there are some other type of files. If no, then I can include it in the filter to be file based rather than folder based as you suggested

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point re: png files. And, as you said, there might be others too.

How about we start with asciidoc for now, since those do change relatively often, compared to other "non-code" types. And maybe we can add more types later?

Copy link
Member Author

Choose a reason for hiding this comment

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

png is also in the list of allowed files, let's then plan the following support files, if any, with some follow-ups. :)

Jenkinsfile Outdated Show resolved Hide resolved
Jenkinsfile Outdated Show resolved Hide resolved
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

@v1v v1v marked this pull request as ready for review May 8, 2020 09:41
Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 7651
Skipped 1231
Total 8882

Steps errors

Expand to view the steps failures

  • Name: Make -C libbeat testsuite
    • Description: make -C libbeat testsuite

    • Result: FAILURE

    • Duration: 28 min 32 sec

    • Start Time: 2020-05-08T09:39:14.603+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-05-08T10:30:24.793Z] + FILE=heartbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-05-08T10:30:24.793Z] + FILE=libbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-05-08T10:30:24.793Z] + FILE=metricbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-05-08T10:30:24.793Z] + FILE=packetbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-05-08T10:30:24.793Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-05-08T10:30:24.793Z] + FILE=journalbeat/build/coverage/full.cov
[2020-05-08T10:30:24.793Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-05-08T10:30:25.234Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-08T10:30:25.554Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-05-08T10:30:25.565Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Lint
[2020-05-08T10:30:25.633Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-05-08T10:30:25.700Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-oss
[2020-05-08T10:30:25.764Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-05-08T10:30:25.828Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Dockerlogbeat
[2020-05-08T10:30:25.891Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Journalbeat-oss
[2020-05-08T10:30:25.955Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-05-08T10:30:26.018Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-05-08T10:30:26.086Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-05-08T10:30:26.162Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-05-08T10:30:26.234Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-05-08T10:30:26.300Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-05-08T10:30:26.394Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-05-08T10:30:26.472Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-oss
[2020-05-08T10:30:26.552Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-05-08T10:30:26.645Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-05-08T10:30:26.717Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-x-pack
[2020-05-08T10:30:26.794Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-05-08T10:30:26.860Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Linux
[2020-05-08T10:30:26.924Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-Windows
[2020-05-08T10:30:26.993Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-05-08T10:30:27.057Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Packetbeat-oss
[2020-05-08T10:30:27.133Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-05-08T10:30:27.198Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Windows
[2020-05-08T10:30:27.276Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-05-08T10:30:27.345Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-x-pack
[2020-05-08T10:30:27.409Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Mac-OS-X
[2020-05-08T10:30:27.478Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-05-08T10:30:27.541Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Libbeat-oss
[2020-05-08T10:30:27.607Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Filebeat-oss
[2020-05-08T10:30:27.674Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-05-08T10:30:27.737Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Heartbeat-Windows
[2020-05-08T10:30:27.800Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Functionbeat-Windows
[2020-05-08T10:30:27.868Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-05-08T10:30:27.934Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Auditbeat-Windows
[2020-05-08T10:30:28.000Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-05-08T10:30:28.065Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-05-08T10:30:28.129Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-05-08T10:30:28.482Z] + cat
[2020-05-08T10:30:28.482Z] + /usr/local/bin/runbld ./runbld-script
[2020-05-08T10:30:28.482Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-05-08T10:30:35.066Z] runbld>>> runbld started
[2020-05-08T10:30:35.066Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-05-08T10:30:36.974Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18315' in order of occurrence in the config (last value wins).
[2020-05-08T10:30:38.354Z] runbld>>> Debug logging enabled.
[2020-05-08T10:30:38.354Z] runbld>>> Storing result
[2020-05-08T10:30:38.354Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-05-08T10:30:38.354Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200508103037-E318B29C
[2020-05-08T10:30:38.354Z] runbld>>> Adding system facts.
[2020-05-08T10:30:39.294Z] runbld>>> Adding vcs info for the latest commit:  c0ba28554b3ce5fca1dc1525227b5d17a86d0c26
[2020-05-08T10:30:39.294Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-05-08T10:30:39.294Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-05-08T10:30:39.553Z] Processing JUnit reports with runbld...
[2020-05-08T10:30:39.553Z] + echo 'Processing JUnit reports with runbld...'
[2020-05-08T10:30:39.813Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-05-08T10:30:39.814Z] runbld>>> DURATION: 11ms
[2020-05-08T10:30:39.814Z] runbld>>> STDOUT: 40 bytes
[2020-05-08T10:30:39.814Z] runbld>>> STDERR: 49 bytes
[2020-05-08T10:30:39.814Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-05-08T10:30:39.814Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-08T10:30:41.195Z] runbld>>> Storing build metadata: 
[2020-05-08T10:30:41.195Z] runbld>>> Adding test report.
[2020-05-08T10:30:41.195Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats
[2020-05-08T10:30:42.573Z] runbld>>> Found 102 test output files
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-05-08T10:30:43.142Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-05-08T10:30:43.711Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-05-08T10:30:43.972Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-05-08T10:30:44.232Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 8732 Skipped: 1015
[2020-05-08T10:30:44.491Z] runbld>>> Storing result
[2020-05-08T10:30:44.491Z] runbld>>> FAILURES: 0
[2020-05-08T10:30:44.749Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-05-08T10:30:44.749Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200508103037-E318B29C
[2020-05-08T10:30:44.749Z] runbld>>> Email notification disabled by environment variable.
[2020-05-08T10:30:44.749Z] runbld>>> Slack notification disabled by environment variable.
[2020-05-08T10:30:50.237Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18315
[2020-05-08T10:30:50.329Z] [INFO] getVaultSecret: Getting secrets
[2020-05-08T10:30:50.390Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-05-08T10:30:51.050Z] + chmod 755 generate-build-data.sh
[2020-05-08T10:30:51.050Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/14 FAILURE 4842492
[2020-05-08T10:30:51.600Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/14/steps/?limit=10000 -o steps-info.json
[2020-05-08T10:30:52.512Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18315/runs/14/tests/?status=FAILED -o tests-errors.json

@v1v v1v merged commit c88f07f into elastic:master May 8, 2020
@v1v v1v changed the title ci: skip stages if only docs changes [CI] skip stages if only docs changes May 8, 2020
@v1v v1v deleted the feature/only-dcos branch May 8, 2020 11:15
v1v added a commit to v1v/beats that referenced this pull request May 8, 2020
v1v added a commit to v1v/beats that referenced this pull request May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation ci Team:Automation Label for the Observability productivity team v7.8.0 v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants