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] filter static versus ephemeral workers #22607

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Nov 17, 2020

What does this PR do?

Detect whether the workers ares ephemeral or static then the new labels are not required for the last one.

Why is it important?

Avoid builds in the branches that cannot allocate for the resources

Test

image

@v1v v1v added macOS Enable builds in the CI for darwin testing arm Enable builds in the CI for ARM testing windows-2016 Enable builds in the CI for windows-2016 labels Nov 17, 2020
@v1v v1v requested a review from a team November 17, 2020 08:42
@v1v v1v self-assigned this Nov 17, 2020
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 17, 2020
@v1v v1v added the automation label Nov 17, 2020
Jenkinsfile Outdated Show resolved Hide resolved
@v1v v1v removed macOS Enable builds in the CI for darwin testing windows-2016 Enable builds in the CI for windows-2016 labels Nov 17, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 17, 2020

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #22607 updated]

  • Start Time: 2020-11-17T10:19:57.312+0000

  • Duration: 71 min 21 sec

Test stats 🧪

Test Results
Failed 0
Passed 22384
Skipped 1715
Total 24099

Steps errors 2

Expand to view the steps failures

`x-pack/packetbeat-Lint - mage check;

mage update;
`

  • Took 2 min 48 sec . View more details on here
  • Description: mage check;mage update;

Error signal

  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2020-11-17T11:30:50.281Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-auditbeat-Lint-1605609326408
[2020-11-17T11:30:50.316Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/winlogbeat-Lint-1605609327294
[2020-11-17T11:30:50.349Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-libbeat-Lint-1605609329422
[2020-11-17T11:30:50.380Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/journalbeat-unitTest-1605609332074
[2020-11-17T11:30:50.419Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/journalbeat-Lint-1605609332724
[2020-11-17T11:30:50.455Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/filebeat-Lint-1605609358571
[2020-11-17T11:30:50.487Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-functionbeat-build-1605609369011
[2020-11-17T11:30:50.518Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-winlogbeat-Lint-linux----ubuntu-18-1605609371545
[2020-11-17T11:30:50.551Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-packetbeat-build-1605609380777
[2020-11-17T11:30:50.588Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-Lint-1605609384658
[2020-11-17T11:30:50.625Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-functionbeat-arm-arm-1605609394399
[2020-11-17T11:30:50.659Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-filebeat-Lint-1605609394503
[2020-11-17T11:30:50.697Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/filebeat-arm-arm-1605609404861
[2020-11-17T11:30:50.736Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-libbeat-arm-arm-1605609422601
[2020-11-17T11:30:50.769Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-packetbeat-arm-arm-1605609441385
[2020-11-17T11:30:50.805Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/packetbeat-arm-arm-1605609447632
[2020-11-17T11:30:50.843Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-packetbeat-Lint-1605609464272
[2020-11-17T11:30:50.883Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-filebeat-arm-arm-1605609466729
[2020-11-17T11:30:50.921Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/libbeat-crosscompile-1605609470409
[2020-11-17T11:30:50.957Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-Lint-1605609471242
[2020-11-17T11:30:50.988Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-unitTest-1605609562019
[2020-11-17T11:30:51.025Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/packetbeat-build-1605609567429
[2020-11-17T11:30:51.058Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-elastic-agent-windows-windows-2019-1605609608723
[2020-11-17T11:30:51.089Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/heartbeat-build-1605609647898
[2020-11-17T11:30:51.122Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/heartbeat-windows-windows-2019-1605609667688
[2020-11-17T11:30:51.158Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/auditbeat-windows-windows-2019-1605609675971
[2020-11-17T11:30:51.192Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/winlogbeat-windows-windows-2008-r2-1605609684710
[2020-11-17T11:30:51.223Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/auditbeat-build-1605609700487
[2020-11-17T11:30:51.262Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-auditbeat-build-1605609725764
[2020-11-17T11:30:51.299Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-packetbeat-windows-windows-2019-1605609731549
[2020-11-17T11:30:51.339Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/winlogbeat-windows-windows-2019-1605609731545
[2020-11-17T11:30:51.380Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-auditbeat-windows-windows-2019-1605609740233
[2020-11-17T11:30:51.413Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-libbeat-build-1605609764552
[2020-11-17T11:30:51.445Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-functionbeat-windows-windows-2019-1605609773345
[2020-11-17T11:30:51.476Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-crosscompile-1605609776040
[2020-11-17T11:30:51.509Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-winlogbeat-build-windows-2019-1605609825423
[2020-11-17T11:30:51.546Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1605609860877
[2020-11-17T11:30:51.588Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/filebeat-windows-windows-2019-1605609864982
[2020-11-17T11:30:51.627Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-windows-windows-2019-1605609939614
[2020-11-17T11:30:51.668Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/generator-metricbeat-test-1605609962485
[2020-11-17T11:30:51.713Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-windows-windows-2019-1605609998854
[2020-11-17T11:30:51.760Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/packetbeat-windows-windows-2019-1605610015477
[2020-11-17T11:30:51.805Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/libbeat-stress-tests-1605610121443
[2020-11-17T11:30:51.855Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/generator-beat-test-1605610413544
[2020-11-17T11:30:51.901Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/filebeat-build-1605610542220
[2020-11-17T11:30:51.956Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/libbeat-build-1605610592763
[2020-11-17T11:30:52.024Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-filebeat-build-1605611120426
[2020-11-17T11:30:52.071Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-goIntegTest-1605611163013
[2020-11-17T11:30:52.129Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-pythonIntegTest-1605611200043
[2020-11-17T11:30:52.186Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093
[2020-11-17T11:30:52.529Z] + cat
[2020-11-17T11:30:52.529Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-11-17T11:30:52.529Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-11-17T11:31:00.646Z] runbld>>> runbld started
[2020-11-17T11:31:00.646Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-11-17T11:31:01.582Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-11-17T11:31:01.582Z] runbld>>> Matches in the system config:
[2020-11-17T11:31:01.582Z] runbld>>> - Matched ^elastic\+beats
[2020-11-17T11:31:01.582Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-11-17T11:31:02.959Z] runbld>>> Debug logging enabled.
[2020-11-17T11:31:02.959Z] runbld>>> Storing result
[2020-11-17T11:31:02.960Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-11-17T11:31:02.960Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201117113102-0F470748
[2020-11-17T11:31:02.960Z] runbld>>> Adding system facts.
[2020-11-17T11:31:04.363Z] runbld>>> Adding vcs info for the latest commit:  dc8a6b81bc7839efe56ccae34ed51dc7ba8ec319
[2020-11-17T11:31:04.363Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-11-17T11:31:04.363Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-11-17T11:31:04.623Z] + echo 'Processing JUnit reports with runbld...'
[2020-11-17T11:31:04.623Z] Processing JUnit reports with runbld...
[2020-11-17T11:31:04.881Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-11-17T11:31:04.881Z] runbld>>> DURATION: 38ms
[2020-11-17T11:31:04.881Z] runbld>>> STDOUT: 40 bytes
[2020-11-17T11:31:04.881Z] runbld>>> STDERR: 49 bytes
[2020-11-17T11:31:04.881Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-11-17T11:31:04.881Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-22607
[2020-11-17T11:31:05.817Z] runbld>>> Storing build metadata: 
[2020-11-17T11:31:05.817Z] runbld>>> Adding test report.
[2020-11-17T11:31:05.817Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats
[2020-11-17T11:31:06.754Z] runbld>>> Found 149 test output files
[2020-11-17T11:31:08.139Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-goIntegTest-1605611163013/metricbeat/build/TEST-go-integration-graphite.xml
[2020-11-17T11:31:08.139Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/metricbeat-goIntegTest-1605611163013/metricbeat/build/TEST-go-integration-windows.xml
[2020-11-17T11:31:10.042Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-11-17T11:31:10.042Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-11-17T11:31:10.042Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-11-17T11:31:10.042Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-11-17T11:31:10.042Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats/x-pack-metricbeat-build-1605612280093/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-11-17T11:31:11.420Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 24099 Skipped: 1415
[2020-11-17T11:31:11.420Z] runbld>>> Storing result
[2020-11-17T11:31:11.420Z] runbld>>> FAILURES: 0
[2020-11-17T11:31:11.679Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-11-17T11:31:11.679Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201117113102-0F470748
[2020-11-17T11:31:11.679Z] runbld>>> Email notification disabled by environment variable.
[2020-11-17T11:31:11.679Z] runbld>>> Slack notification disabled by environment variable.
[2020-11-17T11:31:17.102Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-22607/src/github.com/elastic/beats
[2020-11-17T11:31:17.809Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-22607
[2020-11-17T11:31:17.837Z] [INFO] getVaultSecret: Getting secrets
[2020-11-17T11:31:17.877Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-11-17T11:31:18.453Z] + chmod 755 generate-build-data.sh
[2020-11-17T11:31:18.453Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22607/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22607/runs/3 FAILURE 4280881
[2020-11-17T11:31:18.453Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-22607/runs/3/steps/?limit=10000 -o steps-info.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 22384
Skipped 1715
Total 24099

@v1v
Copy link
Member Author

v1v commented Nov 17, 2020

Unrelated test errors

@v1v v1v merged commit 5e21666 into elastic:master Nov 17, 2020
@v1v v1v deleted the feature/only-for-immutable branch November 17, 2020 11:32
v1v added a commit to v1v/beats that referenced this pull request Nov 17, 2020
v1v added a commit to v1v/beats that referenced this pull request Nov 17, 2020
v1v added a commit that referenced this pull request Nov 17, 2020
v1v added a commit to v1v/beats that referenced this pull request Nov 17, 2020
v1v added a commit that referenced this pull request Nov 17, 2020
* Revert "[CI] filter static versus ephemeral workers (#22607)"
This reverts commit 5e21666.
* Revert "[CI] ensure one shot-worker (#22588)"
This reverts commit 0a75258.
v1v added a commit to v1v/beats that referenced this pull request Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Enable builds in the CI for ARM testing automation Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants