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 #18899 to 7.8: [CI] Fix permissions should not fail #18905

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Jun 2, 2020

Backports the following commits to 7.8:

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 2, 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 #18905 opened]

  • Start Time: 2020-06-02T16:41:27.276+0000

  • Duration: 87 min 16 sec

Test stats 🧪

Test Results
Failed 6
Passed 6295
Skipped 1046
Total 7347

Test errors

Expand to view the tests failures

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

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

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

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

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

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

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

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 30 min 50 sec

    • Start Time: 2020-06-02T17:37:42.871+0000

    • log

  • Name: Mage update build test

    • Description: mage update build test

    • Duration: 2 min 12 sec

    • Start Time: 2020-06-02T17:24:43.113+0000

    • log

  • Name: Mage update build test

    • Description: mage update build test

    • Duration: 1 min 50 sec

    • Start Time: 2020-06-02T17:24:56.971+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-02T18:08:12.372Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-02T18:08:12.372Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-02T18:08:12.372Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-02T18:08:13.068Z] Failed in branch Metricbeat x-pack
[2020-06-02T18:08:14.410Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats
[2020-06-02T18:08:14.751Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-02T18:08:14.774Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Lint
[2020-06-02T18:08:14.911Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-02T18:08:15.044Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-06-02T18:08:15.179Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-02T18:08:15.313Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-02T18:08:15.450Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-02T18:08:15.596Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-02T18:08:15.731Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-02T18:08:15.868Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-02T18:08:16.004Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-02T18:08:16.143Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Auditbeat-Linux
[2020-06-02T18:08:16.282Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Filebeat-Windows
[2020-06-02T18:08:16.419Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-06-02T18:08:16.558Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-06-02T18:08:16.695Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-02T18:08:16.833Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-02T18:08:16.963Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-02T18:08:17.098Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-02T18:08:17.235Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-02T18:08:17.375Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-02T18:08:17.511Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-06-02T18:08:17.648Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-Windows
[2020-06-02T18:08:17.786Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Heartbeat-Windows
[2020-06-02T18:08:17.922Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-06-02T18:08:18.053Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Filebeat-oss
[2020-06-02T18:08:18.189Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-02T18:08:18.325Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Auditbeat-Windows
[2020-06-02T18:08:18.462Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Libbeat-oss
[2020-06-02T18:08:18.604Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Libbeat-crosscompile
[2020-06-02T18:08:18.742Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Libbeat-stress-tests
[2020-06-02T18:08:18.878Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-02T18:08:19.018Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-02T18:08:19.154Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-02T18:08:19.576Z] + cat
[2020-06-02T18:08:19.576Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-02T18:08:19.576Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-02T18:08:26.171Z] runbld>>> runbld started
[2020-06-02T18:08:26.171Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-02T18:08:27.554Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18905' in order of occurrence in the config (last value wins).
[2020-06-02T18:08:28.961Z] runbld>>> Debug logging enabled.
[2020-06-02T18:08:28.961Z] runbld>>> Storing result
[2020-06-02T18:08:29.224Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-02T18:08:29.224Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602180828-E19BCA6A
[2020-06-02T18:08:29.224Z] runbld>>> Adding system facts.
[2020-06-02T18:08:30.166Z] runbld>>> Adding vcs info for the latest commit:  db99fe643f54923c98585914c4b2d60c2cb7e63c
[2020-06-02T18:08:30.426Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-02T18:08:30.426Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-02T18:08:30.426Z] Processing JUnit reports with runbld...
[2020-06-02T18:08:30.426Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-02T18:08:30.686Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-02T18:08:30.686Z] runbld>>> DURATION: 23ms
[2020-06-02T18:08:30.686Z] runbld>>> STDOUT: 40 bytes
[2020-06-02T18:08:30.686Z] runbld>>> STDERR: 49 bytes
[2020-06-02T18:08:30.686Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-02T18:08:30.686Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats
[2020-06-02T18:08:32.069Z] runbld>>> Storing build metadata: 
[2020-06-02T18:08:32.069Z] runbld>>> Adding test report.
[2020-06-02T18:08:32.069Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats
[2020-06-02T18:08:33.452Z] runbld>>> Found 94 test output files
[2020-06-02T18:08:33.453Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-02T18:08:33.453Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-02T18:08:33.716Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-02T18:08:35.100Z] runbld>>> Test output logs contained: Errors: 0 Failures: 6 Tests: 7347 Skipped: 849
[2020-06-02T18:08:35.100Z] runbld>>> Storing result
[2020-06-02T18:08:35.100Z] runbld>>> FAILURES: 6
[2020-06-02T18:08:36.483Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-02T18:08:36.483Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200602180828-E19BCA6A
[2020-06-02T18:08:36.483Z] runbld>>> Email notification disabled by environment variable.
[2020-06-02T18:08:36.483Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-02T18:08:42.652Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18905
[2020-06-02T18:08:42.775Z] [INFO] getVaultSecret: Getting secrets
[2020-06-02T18:08:42.833Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-02T18:08:45.139Z] + chmod 755 generate-build-data.sh
[2020-06-02T18:08:45.139Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18905/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18905/runs/1 FAILURE 5236410
[2020-06-02T18:08:45.139Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18905/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-02T18:08:46.862Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18905/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-06-02T18:08:48.357Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18905/runs/1/log/ -o pipeline-log.txt

@andresrc andresrc added backport Team:Automation Label for the Observability productivity team labels Jun 3, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 3, 2020
@v1v v1v requested a review from a team June 4, 2020 07:11
@v1v v1v changed the title [7.8] [CI] Fix permissions should not fail (#18899) Cherry-pick #18899 to 7.8: [CI] Fix permissions should not fail (#18899) Jun 4, 2020
@v1v v1v changed the title Cherry-pick #18899 to 7.8: [CI] Fix permissions should not fail (#18899) Cherry-pick #18899 to 7.8: [CI] Fix permissions should not fail Jun 4, 2020
@v1v v1v merged commit fda17cb into elastic:7.8 Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants