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.x: [CI] Fix permissions should not fail #18904

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.x:

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

elasticmachine commented Jun 2, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Started by user Victor Martinez]

  • Start Time: 2020-06-03T13:28:24.465+0000

  • Duration: 80 min 50 sec

Test stats 🧪

Test Results
Failed 0
Passed 3674
Skipped 518
Total 4192

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-06-03T14:03:09.310+0000

    • log

  • Name: Make -C libbeat testsuite

    • Description: make -C libbeat testsuite

    • Duration: 28 min 13 sec

    • Start Time: 2020-06-03T13:52:21.655+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-03T14:47:48.568Z] /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/.magefile cleaned
[2020-06-03T14:47:48.906Z] + git config --get user.email
[2020-06-03T14:47:48.906Z] + [ -z  ]
[2020-06-03T14:47:48.906Z] + git config user.email [email protected]
[2020-06-03T14:47:48.906Z] + git config user.name beatsmachine
[2020-06-03T14:47:49.329Z] + .ci/scripts/terraform-cleanup.sh x-pack/metricbeat
[2020-06-03T14:47:49.329Z] + DIRECTORY=x-pack/metricbeat
[2020-06-03T14:47:49.329Z] + FAILED=0
[2020-06-03T14:47:49.329Z] ++ find x-pack/metricbeat -name terraform.tfstate
[2020-06-03T14:47:49.329Z] + exit 0
[2020-06-03T14:47:49.734Z] + curl -sSLo codecov https://codecov.io/bash
[2020-06-03T14:47:49.994Z] + FILE=auditbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f auditbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=filebeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f filebeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=heartbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f heartbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=libbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f libbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=metricbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f metricbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=packetbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f packetbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=winlogbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f winlogbeat/build/coverage/full.cov ]
[2020-06-03T14:47:49.994Z] + FILE=journalbeat/build/coverage/full.cov
[2020-06-03T14:47:49.994Z] + [ -f journalbeat/build/coverage/full.cov ]
[2020-06-03T14:47:50.490Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats
[2020-06-03T14:47:50.792Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-03T14:47:50.803Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Lint
[2020-06-03T14:47:50.883Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Winlogbeat-oss
[2020-06-03T14:47:50.956Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-06-03T14:47:51.033Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-06-03T14:47:51.108Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Dockerlogbeat
[2020-06-03T14:47:51.184Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Journalbeat-oss
[2020-06-03T14:47:51.269Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-06-03T14:47:51.355Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-06-03T14:47:51.433Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-06-03T14:47:51.503Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-06-03T14:47:51.584Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Heartbeat-oss
[2020-06-03T14:47:51.662Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-06-03T14:47:51.736Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Libbeat-x-pack
[2020-06-03T14:47:51.814Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-06-03T14:47:51.906Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Packetbeat-oss
[2020-06-03T14:47:51.977Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-06-03T14:47:52.050Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Filebeat-x-pack
[2020-06-03T14:47:52.133Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Libbeat-oss
[2020-06-03T14:47:52.212Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Filebeat-oss
[2020-06-03T14:47:52.282Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-06-03T14:47:52.350Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-06-03T14:47:52.423Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-06-03T14:47:52.773Z] + cat
[2020-06-03T14:47:52.773Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-03T14:47:52.773Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-03T14:47:59.338Z] runbld>>> runbld started
[2020-06-03T14:47:59.338Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-03T14:48:00.726Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18904' in order of occurrence in the config (last value wins).
[2020-06-03T14:48:02.104Z] runbld>>> Debug logging enabled.
[2020-06-03T14:48:02.104Z] runbld>>> Storing result
[2020-06-03T14:48:02.364Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-03T14:48:02.364Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200603144801-F923B1BE
[2020-06-03T14:48:02.364Z] runbld>>> Adding system facts.
[2020-06-03T14:48:02.938Z] runbld>>> Adding vcs info for the latest commit:  de0142cc805bf86a18b6594b0a0b522e4436496e
[2020-06-03T14:48:03.202Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-03T14:48:03.202Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-03T14:48:03.202Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-03T14:48:03.202Z] Processing JUnit reports with runbld...
[2020-06-03T14:48:03.770Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-03T14:48:03.770Z] runbld>>> DURATION: 13ms
[2020-06-03T14:48:03.770Z] runbld>>> STDOUT: 40 bytes
[2020-06-03T14:48:03.770Z] runbld>>> STDERR: 49 bytes
[2020-06-03T14:48:03.770Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-03T14:48:03.770Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats
[2020-06-03T14:48:05.149Z] runbld>>> Storing build metadata: 
[2020-06-03T14:48:05.149Z] runbld>>> Adding test report.
[2020-06-03T14:48:05.149Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats
[2020-06-03T14:48:06.087Z] runbld>>> Found 79 test output files
[2020-06-03T14:48:06.346Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-cloudfoundry.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-06-03T14:48:06.606Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-06-03T14:48:07.549Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 4042 Skipped: 355
[2020-06-03T14:48:07.549Z] runbld>>> Storing result
[2020-06-03T14:48:07.549Z] runbld>>> FAILURES: 0
[2020-06-03T14:48:07.808Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-03T14:48:07.808Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200603144801-F923B1BE
[2020-06-03T14:48:07.808Z] runbld>>> Email notification disabled by environment variable.
[2020-06-03T14:48:07.808Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-03T14:48:13.391Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18904
[2020-06-03T14:48:13.487Z] [INFO] getVaultSecret: Getting secrets
[2020-06-03T14:48:13.533Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-03T14:48:14.250Z] + chmod 755 generate-build-data.sh
[2020-06-03T14:48:14.250Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18904/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18904/runs/2 FAILURE 4789526
[2020-06-03T14:48:14.250Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18904/runs/2/steps/?limit=10000 -o steps-info.json
[2020-06-03T14:48:15.161Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18904/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-06-03T14:48:15.712Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18904/runs/2/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 changed the title [7.x] [CI] Fix permissions should not fail (#18899) Cherry-pick #18899 to 7.x: [CI] Fix permissions should not fail Jun 4, 2020
@v1v v1v merged commit 653ef67 into elastic:7.x Jun 4, 2020
@v1v v1v deleted the backport/7.x/pr-18899 branch June 4, 2020 09:20
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.

3 participants