Skip to content

Cherry-pick #19490 #19559 to 7.9: ci: disable upstream trigger on PRs for the packaging job#19543

Merged
kuisathaverat merged 3 commits intoelastic:7.9from
kuisathaverat:7.9-packaging
Jul 1, 2020
Merged

Cherry-pick #19490 #19559 to 7.9: ci: disable upstream trigger on PRs for the packaging job#19543
kuisathaverat merged 3 commits intoelastic:7.9from
kuisathaverat:7.9-packaging

Conversation

@kuisathaverat
Copy link
Copy Markdown
Contributor

@kuisathaverat kuisathaverat commented Jul 1, 2020

Original PR
#19490 #19559

What does this PR do?

  • Change to use withMageEnv
  • Disable upstream trigger on PRs
  • Disable macOS sign packages is a bottleneck

Why is it important?

This PR fixes the queue-boom occasioned by the upstream trigger on PRs.

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@kuisathaverat kuisathaverat added ci Team:Automation Label for the Observability productivity team labels Jul 1, 2020
@kuisathaverat kuisathaverat requested a review from a team July 1, 2020 11:28
@kuisathaverat kuisathaverat self-assigned this Jul 1, 2020
@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 Jul 1, 2020
@kuisathaverat kuisathaverat changed the title Cherry-pick #19510 to 7.9: fix: ignore target changes on scans Cherry-pick #19490 to 7.9: ci: disable upstream trigger on PRs for the packaging job Jul 1, 2020
@kuisathaverat kuisathaverat changed the title Cherry-pick #19490 to 7.9: ci: disable upstream trigger on PRs for the packaging job Cherry-pick #19490 #19559 to 7.9: ci: disable upstream trigger on PRs for the packaging job Jul 1, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #19543 updated]

  • Start Time: 2020-07-01T15:38:34.597+0000

  • Duration: 20 min 24 sec

Steps errors

Expand to view the steps failures

  • Name: Make check
    • Description: make check

    • Duration: 14 min 55 sec

    • Start Time: 2020-07-01T15:44:29.068+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-01T15:58:29.514Z] Stage "Kubernetes" skipped due to earlier failure(s)
[2020-07-01T15:58:29.766Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.777Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.787Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-01T15:58:29.797Z] Stage "Packetbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.807Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.817Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.829Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.839Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:29.849Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-01T15:58:31.158Z] Failed in branch Elastic Agent x-pack
[2020-07-01T15:58:31.167Z] Failed in branch Elastic Agent x-pack Windows
[2020-07-01T15:58:31.176Z] Failed in branch Elastic Agent Mac OS X
[2020-07-01T15:58:31.185Z] Failed in branch Filebeat oss
[2020-07-01T15:58:31.193Z] Failed in branch Filebeat x-pack
[2020-07-01T15:58:31.202Z] Failed in branch Filebeat Mac OS X
[2020-07-01T15:58:31.211Z] Failed in branch Filebeat x-pack Mac OS X
[2020-07-01T15:58:31.220Z] Failed in branch Filebeat Windows
[2020-07-01T15:58:31.229Z] Failed in branch Filebeat x-pack Windows
[2020-07-01T15:58:31.238Z] Failed in branch Auditbeat oss Linux
[2020-07-01T15:58:31.247Z] Failed in branch Auditbeat crosscompile
[2020-07-01T15:58:31.258Z] Failed in branch Auditbeat oss Mac OS X
[2020-07-01T15:58:31.268Z] Failed in branch Auditbeat oss Windows
[2020-07-01T15:58:31.277Z] Failed in branch Auditbeat x-pack
[2020-07-01T15:58:31.286Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-07-01T15:58:31.296Z] Failed in branch Auditbeat x-pack Windows
[2020-07-01T15:58:31.305Z] Failed in branch Libbeat x-pack
[2020-07-01T15:58:31.315Z] Failed in branch Metricbeat OSS Unit tests
[2020-07-01T15:58:31.326Z] Failed in branch Metricbeat OSS Integration tests
[2020-07-01T15:58:31.337Z] Failed in branch Metricbeat Python integration tests
[2020-07-01T15:58:31.346Z] Failed in branch Metricbeat crosscompile
[2020-07-01T15:58:31.356Z] Failed in branch Metricbeat Mac OS X
[2020-07-01T15:58:31.368Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-07-01T15:58:31.377Z] Failed in branch Metricbeat Windows
[2020-07-01T15:58:31.387Z] Failed in branch Metricbeat x-pack Windows
[2020-07-01T15:58:31.399Z] Failed in branch Winlogbeat Windows x-pack
[2020-07-01T15:58:31.407Z] Failed in branch Kubernetes
[2020-07-01T15:58:32.106Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:32.120Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:32.131Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-01T15:58:32.141Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:32.152Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:32.162Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-01T15:58:32.691Z] Failed in branch Packetbeat
[2020-07-01T15:58:32.704Z] Failed in branch dockerlogbeat
[2020-07-01T15:58:32.714Z] Failed in branch Journalbeat
[2020-07-01T15:58:33.240Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:33.254Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:33.264Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-01T15:58:33.274Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-01T15:58:33.423Z] Failed in branch Metricbeat x-pack
[2020-07-01T15:58:33.435Z] Failed in branch Winlogbeat
[2020-07-01T15:58:33.976Z] Failed in branch Heartbeat
[2020-07-01T15:58:33.985Z] Failed in branch Libbeat
[2020-07-01T15:58:33.994Z] Failed in branch Functionbeat
[2020-07-01T15:58:33.995Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-01T15:58:34.221Z] Failed in branch Generators
[2020-07-01T15:58:36.292Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19543/src/github.com/elastic/beats
[2020-07-01T15:58:36.637Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-01T15:58:36.663Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19543/src/github.com/elastic/beats/Lint
[2020-07-01T15:58:37.143Z] + cat
[2020-07-01T15:58:37.143Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-01T15:58:37.143Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-01T15:58:43.743Z] runbld>>> runbld started
[2020-07-01T15:58:43.743Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-01T15:58:44.317Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19543' in order of occurrence in the config (last value wins).
[2020-07-01T15:58:45.707Z] runbld>>> Debug logging enabled.
[2020-07-01T15:58:45.707Z] runbld>>> Storing result
[2020-07-01T15:58:46.003Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-01T15:58:46.003Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200701155845-EC8AB344
[2020-07-01T15:58:46.003Z] runbld>>> Adding system facts.
[2020-07-01T15:58:46.592Z] runbld>>> Adding vcs info for the latest commit:  43c6223ac12aeaf792c177833ddd3214a8ce5b95
[2020-07-01T15:58:46.592Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-01T15:58:46.592Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-01T15:58:46.592Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-01T15:58:46.592Z] Processing JUnit reports with runbld...
[2020-07-01T15:58:47.166Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-01T15:58:47.167Z] runbld>>> DURATION: 29ms
[2020-07-01T15:58:47.167Z] runbld>>> STDOUT: 40 bytes
[2020-07-01T15:58:47.167Z] runbld>>> STDERR: 49 bytes
[2020-07-01T15:58:47.167Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-01T15:58:47.167Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19543/src/github.com/elastic/beats
[2020-07-01T15:58:48.179Z] runbld>>> Storing build metadata: 
[2020-07-01T15:58:48.179Z] runbld>>> Adding test report.
[2020-07-01T15:58:48.179Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19543/src/github.com/elastic/beats
[2020-07-01T15:58:48.807Z] runbld>>> Found 0 test output files
[2020-07-01T15:58:48.807Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-07-01T15:58:48.807Z] runbld>>> Storing result
[2020-07-01T15:58:49.097Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-01T15:58:49.097Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200701155845-EC8AB344
[2020-07-01T15:58:49.399Z] runbld>>> Email notification disabled by environment variable.
[2020-07-01T15:58:49.399Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-01T15:58:56.560Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19543
[2020-07-01T15:58:57.130Z] [INFO] getVaultSecret: Getting secrets
[2020-07-01T15:58:57.237Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-01T15:58:59.057Z] + chmod 755 generate-build-data.sh
[2020-07-01T15:58:59.057Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19543/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19543/runs/1 FAILURE 1224162
[2020-07-01T15:58:59.057Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19543/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-01T15:58:59.608Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19543/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-07-01T15:58:59.858Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19543/runs/1/log/ -o pipeline-log.txt

@kuisathaverat kuisathaverat merged commit 0417a8c into elastic:7.9 Jul 1, 2020
@kuisathaverat kuisathaverat deleted the 7.9-packaging branch December 24, 2020 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants