Skip to content

ci: disable upstream trigger on PRs for the packaging job#19490

Merged
kuisathaverat merged 3 commits intoelastic:masterfrom
kuisathaverat:disable-packaging
Jul 1, 2020
Merged

ci: disable upstream trigger on PRs for the packaging job#19490
kuisathaverat merged 3 commits intoelastic:masterfrom
kuisathaverat:disable-packaging

Conversation

@kuisathaverat
Copy link
Copy Markdown
Contributor

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 bug ci Team:Automation Label for the Observability productivity team labels Jun 29, 2020
@kuisathaverat kuisathaverat requested a review from a team June 29, 2020 13:37
@kuisathaverat kuisathaverat self-assigned this Jun 29, 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 Jun 29, 2020
@kuisathaverat kuisathaverat changed the title ci: ci: disable upstream trigger on PRs for the packaging job Jun 29, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jun 29, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Start Time: 2020-06-30T22:45:47.216+0000

  • Duration: 23 min 45 sec

Steps errors

Expand to view the steps failures

  • Name: Make check
    • Description: make check

    • Duration: 17 min 48 sec

    • Start Time: 2020-06-30T22:51:15.291+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-30T23:08:07.049Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-30T23:08:07.049Z] Stage "Kubernetes" skipped due to earlier failure(s)
[2020-06-30T23:08:07.145Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.147Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.148Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-06-30T23:08:07.149Z] Stage "Packetbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.150Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.151Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.152Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.153Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:07.154Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-30T23:08:07.809Z] Failed in branch Elastic Agent x-pack
[2020-06-30T23:08:07.810Z] Failed in branch Elastic Agent x-pack Windows
[2020-06-30T23:08:07.811Z] Failed in branch Elastic Agent Mac OS X
[2020-06-30T23:08:07.812Z] Failed in branch Filebeat oss
[2020-06-30T23:08:07.813Z] Failed in branch Filebeat x-pack
[2020-06-30T23:08:07.813Z] Failed in branch Filebeat Mac OS X
[2020-06-30T23:08:07.814Z] Failed in branch Filebeat x-pack Mac OS X
[2020-06-30T23:08:07.815Z] Failed in branch Filebeat Windows
[2020-06-30T23:08:07.816Z] Failed in branch Filebeat x-pack Windows
[2020-06-30T23:08:07.817Z] Failed in branch Auditbeat oss Linux
[2020-06-30T23:08:07.817Z] Failed in branch Auditbeat crosscompile
[2020-06-30T23:08:07.818Z] Failed in branch Auditbeat oss Mac OS X
[2020-06-30T23:08:07.819Z] Failed in branch Auditbeat oss Windows
[2020-06-30T23:08:07.820Z] Failed in branch Auditbeat x-pack
[2020-06-30T23:08:07.821Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-06-30T23:08:07.821Z] Failed in branch Auditbeat x-pack Windows
[2020-06-30T23:08:07.822Z] Failed in branch Libbeat x-pack
[2020-06-30T23:08:07.823Z] Failed in branch Metricbeat OSS Unit tests
[2020-06-30T23:08:07.824Z] Failed in branch Metricbeat OSS Integration tests
[2020-06-30T23:08:07.824Z] Failed in branch Metricbeat Python integration tests
[2020-06-30T23:08:07.825Z] Failed in branch Metricbeat crosscompile
[2020-06-30T23:08:07.826Z] Failed in branch Metricbeat Mac OS X
[2020-06-30T23:08:07.827Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-06-30T23:08:07.828Z] Failed in branch Metricbeat Windows
[2020-06-30T23:08:07.828Z] Failed in branch Metricbeat x-pack Windows
[2020-06-30T23:08:07.829Z] Failed in branch Winlogbeat Windows x-pack
[2020-06-30T23:08:07.830Z] Failed in branch Kubernetes
[2020-06-30T23:08:08.166Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.167Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.168Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-06-30T23:08:08.169Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.170Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.171Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-30T23:08:08.230Z] Failed in branch Packetbeat
[2020-06-30T23:08:08.231Z] Failed in branch dockerlogbeat
[2020-06-30T23:08:08.232Z] Failed in branch Journalbeat
[2020-06-30T23:08:08.452Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.454Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.455Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-06-30T23:08:08.456Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-30T23:08:08.506Z] Failed in branch Metricbeat x-pack
[2020-06-30T23:08:08.507Z] Failed in branch Winlogbeat
[2020-06-30T23:08:08.734Z] Failed in branch Heartbeat
[2020-06-30T23:08:08.735Z] Failed in branch Libbeat
[2020-06-30T23:08:08.736Z] Failed in branch Functionbeat
[2020-06-30T23:08:08.737Z] Stage "Generators" skipped due to earlier failure(s)
[2020-06-30T23:08:08.839Z] Failed in branch Generators
[2020-06-30T23:08:08.987Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19490/src/github.com/elastic/beats
[2020-06-30T23:08:09.295Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-30T23:08:09.310Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19490/src/github.com/elastic/beats/Lint
[2020-06-30T23:08:09.702Z] + cat
[2020-06-30T23:08:09.702Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-30T23:08:09.702Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-30T23:08:17.862Z] runbld>>> runbld started
[2020-06-30T23:08:17.862Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-06-30T23:08:19.800Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19490' in order of occurrence in the config (last value wins).
[2020-06-30T23:08:21.208Z] runbld>>> Debug logging enabled.
[2020-06-30T23:08:21.208Z] runbld>>> Storing result
[2020-06-30T23:08:21.473Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-30T23:08:21.473Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200630230820-3CAD73F0
[2020-06-30T23:08:21.473Z] runbld>>> Adding system facts.
[2020-06-30T23:08:22.426Z] runbld>>> Adding vcs info for the latest commit:  12f18f5a3dbd4210064b2d30b60bb0c92ffa3b34
[2020-06-30T23:08:22.426Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-30T23:08:22.426Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-30T23:08:22.691Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-30T23:08:22.691Z] Processing JUnit reports with runbld...
[2020-06-30T23:08:22.955Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-30T23:08:22.955Z] runbld>>> DURATION: 19ms
[2020-06-30T23:08:22.955Z] runbld>>> STDOUT: 40 bytes
[2020-06-30T23:08:22.955Z] runbld>>> STDERR: 49 bytes
[2020-06-30T23:08:22.955Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-30T23:08:22.955Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19490/src/github.com/elastic/beats
[2020-06-30T23:08:23.913Z] runbld>>> Storing build metadata: 
[2020-06-30T23:08:23.913Z] runbld>>> Adding test report.
[2020-06-30T23:08:23.913Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19490/src/github.com/elastic/beats
[2020-06-30T23:08:24.865Z] runbld>>> Found 0 test output files
[2020-06-30T23:08:24.865Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-06-30T23:08:24.865Z] runbld>>> Storing result
[2020-06-30T23:08:25.129Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-30T23:08:25.129Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200630230820-3CAD73F0
[2020-06-30T23:08:25.392Z] runbld>>> Email notification disabled by environment variable.
[2020-06-30T23:08:25.392Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-30T23:08:31.045Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19490
[2020-06-30T23:08:31.181Z] [INFO] getVaultSecret: Getting secrets
[2020-06-30T23:08:31.268Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-30T23:08:32.154Z] + chmod 755 generate-build-data.sh
[2020-06-30T23:08:32.154Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19490/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19490/runs/6 FAILURE 1364675
[2020-06-30T23:08:32.154Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19490/runs/6/steps/?limit=10000 -o steps-info.json
[2020-06-30T23:08:32.704Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19490/runs/6/tests/?status=FAILED -o tests-errors.json

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
@kuisathaverat kuisathaverat requested review from a team and v1v June 30, 2020 08:45
@kuisathaverat kuisathaverat merged commit 167ed80 into elastic:master Jul 1, 2020
kuisathaverat added a commit that referenced this pull request Jul 1, 2020
… for the packaging job (#19546)

* ci: correct upstream job

* ci: filter build causes

* Update .ci/packaging.groovy
kuisathaverat added a commit that referenced this pull request Jul 1, 2020
… for the packaging job (#19545)

* ci: correct upstream job

* ci: filter build causes

* Update .ci/packaging.groovy
kuisathaverat added a commit that referenced this pull request Jul 1, 2020
… for the packaging job (#19543)

* ci: correct upstream job

* ci: filter build causes

* Update .ci/packaging.groovy
kuisathaverat added a commit that referenced this pull request Jul 1, 2020
… for the packaging job (#19544)

* ci: filter build causes

* Update .ci/packaging.groovy
v1v added a commit to v1v/beats that referenced this pull request Jul 2, 2020
…ne-beats

* upstream/master: (105 commits)
  ci: enable packaging job (elastic#19536)
  ci: disable upstream trigger on PRs for the packaging job (elastic#19490)
  Implement memlog on-disk handling (elastic#19408)
  fix go.mod for PR elastic#19423 (elastic#19521)
  [MetricBeat] add param `aws_partition` to support aws-cn, aws-us-gov regions (elastic#19423)
  Input v2 stateless manager (elastic#19406)
  Input v2 compatibility layer (elastic#19401)
  [Elastic Agent] Fix artifact downloading to allow endpoint-security to be downloaded (elastic#19503)
  fix: ignore target changes on scans (elastic#19510)
  Add more helpers to pipeline/testing package (elastic#19405)
  Report dependencies in CSV format (elastic#19506)
  [Filebeat] Fix reference leak in TCP and Unix socket inputs (elastic#19459)
  Cursor input skeleton (elastic#19378)
  Add changelog. (elastic#19495)
  [DOC] Typo in Kerberos (elastic#19265)
  Remove accidentally commited unused NOTICE template (elastic#19485)
  [Elastic Agent] Support the install, control, and uninstall of Endpoint (elastic#19248)
  [Filebeat][httpjson] Add split_events_by config setting (elastic#19246)
  ci: disabling packaging job until we fix it (elastic#19481)
  Fix golang.org/x/tools to release1.13 (elastic#19478)
  ...
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
)

* fix: set upstream job only for branches

* Update .ci/packaging.groovy

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>

* fix: remove leftovers
use stashV2

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
@kuisathaverat kuisathaverat deleted the disable-packaging branch December 24, 2020 11:07
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…trigger on PRs for the packaging job (elastic#19545)

* ci: correct upstream job

* ci: filter build causes

* Update .ci/packaging.groovy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ci Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants