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

fix: use a fixed worker type for tests #20130

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

kuisathaverat
Copy link
Contributor

@kuisathaverat kuisathaverat commented Jul 22, 2020

What does this PR do?

It fixes the Ubuntu version used to run the CI.

Why is it important?

Right now, we have 4 Ubuntu versions for our workers (14.04, 16.04, 18.04, and 20.04) all use the label ubuntu, so we are selecting any of them, this can cause different behaviors on builds and tests, so ensure homogeneity we've fixed the version to 18.04

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@kuisathaverat kuisathaverat added enhancement automation ci Team:Automation Label for the Observability productivity team labels Jul 22, 2020
@kuisathaverat kuisathaverat requested review from urso, kvch, andrewkroh and a team July 22, 2020 10:14
@kuisathaverat kuisathaverat self-assigned this Jul 22, 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 22, 2020
@botelastic
Copy link

botelastic bot commented Jul 22, 2020

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Collaborator

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20130 opened]

  • Start Time: 2020-07-22T10:14:38.330+0000

  • Duration: 9 min 32 sec

Log output

Expand to view the last 100 lines of log output

[2020-07-22T10:23:02.786Z] Stage "Elastic Agent x-pack Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:02.797Z] Stage "Elastic Agent Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:02.808Z] Stage "Filebeat oss" skipped due to earlier failure(s)
[2020-07-22T10:23:02.820Z] Stage "Filebeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:02.831Z] Stage "Filebeat Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:02.841Z] Stage "Filebeat x-pack Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:02.852Z] Stage "Filebeat Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:02.862Z] Stage "Filebeat x-pack Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:02.872Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:02.878Z] Stage "Auditbeat oss Linux" skipped due to earlier failure(s)
[2020-07-22T10:23:02.889Z] Stage "Auditbeat crosscompile" skipped due to earlier failure(s)
[2020-07-22T10:23:02.899Z] Stage "Auditbeat oss Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:02.910Z] Stage "Auditbeat oss Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:02.921Z] Stage "Auditbeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:02.932Z] Stage "Auditbeat x-pack Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:02.943Z] Stage "Auditbeat x-pack Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:02.953Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:02.958Z] Stage "Libbeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:02.969Z] Stage "Metricbeat OSS Unit tests" skipped due to earlier failure(s)
[2020-07-22T10:23:02.979Z] Stage "Metricbeat OSS Go Integration tests" skipped due to earlier failure(s)
[2020-07-22T10:23:02.989Z] Stage "Metricbeat OSS Python Integration tests" skipped due to earlier failure(s)
[2020-07-22T10:23:03.000Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:03.005Z] Stage "Metricbeat crosscompile" skipped due to earlier failure(s)
[2020-07-22T10:23:03.016Z] Stage "Metricbeat Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:03.027Z] Stage "Metricbeat x-pack Mac OS X" skipped due to earlier failure(s)
[2020-07-22T10:23:03.040Z] Stage "Metricbeat Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:03.051Z] Stage "Metricbeat x-pack Windows" skipped due to earlier failure(s)
[2020-07-22T10:23:03.062Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-22T10:23:03.068Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.073Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.079Z] Stage "Winlogbeat Windows x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:03.090Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.095Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.101Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-22T10:23:03.106Z] Stage "Kubernetes" skipped due to earlier failure(s)
[2020-07-22T10:23:03.312Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.322Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.331Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:03.340Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-22T10:23:03.349Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.358Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.367Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.376Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:03.385Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-22T10:23:04.469Z] Failed in branch Elastic Agent x-pack
[2020-07-22T10:23:04.478Z] Failed in branch Elastic Agent x-pack Windows
[2020-07-22T10:23:04.486Z] Failed in branch Elastic Agent Mac OS X
[2020-07-22T10:23:04.496Z] Failed in branch Filebeat oss
[2020-07-22T10:23:04.504Z] Failed in branch Filebeat x-pack
[2020-07-22T10:23:04.512Z] Failed in branch Filebeat Mac OS X
[2020-07-22T10:23:04.520Z] Failed in branch Filebeat x-pack Mac OS X
[2020-07-22T10:23:04.529Z] Failed in branch Filebeat Windows
[2020-07-22T10:23:04.537Z] Failed in branch Filebeat x-pack Windows
[2020-07-22T10:23:04.545Z] Failed in branch Auditbeat oss Linux
[2020-07-22T10:23:04.553Z] Failed in branch Auditbeat crosscompile
[2020-07-22T10:23:04.562Z] Failed in branch Auditbeat oss Mac OS X
[2020-07-22T10:23:04.570Z] Failed in branch Auditbeat oss Windows
[2020-07-22T10:23:04.578Z] Failed in branch Auditbeat x-pack
[2020-07-22T10:23:04.587Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-07-22T10:23:04.595Z] Failed in branch Auditbeat x-pack Windows
[2020-07-22T10:23:04.603Z] Failed in branch Libbeat x-pack
[2020-07-22T10:23:04.611Z] Failed in branch Metricbeat OSS Unit tests
[2020-07-22T10:23:04.620Z] Failed in branch Metricbeat OSS Go Integration tests
[2020-07-22T10:23:04.628Z] Failed in branch Metricbeat OSS Python Integration tests
[2020-07-22T10:23:04.637Z] Failed in branch Metricbeat crosscompile
[2020-07-22T10:23:04.645Z] Failed in branch Metricbeat Mac OS X
[2020-07-22T10:23:04.653Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-07-22T10:23:04.661Z] Failed in branch Metricbeat Windows
[2020-07-22T10:23:04.669Z] Failed in branch Metricbeat x-pack Windows
[2020-07-22T10:23:04.677Z] Failed in branch Winlogbeat Windows x-pack
[2020-07-22T10:23:04.685Z] Failed in branch Kubernetes
[2020-07-22T10:23:05.244Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:05.254Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:05.263Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-22T10:23:05.273Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-22T10:23:05.282Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:05.290Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:05.300Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-22T10:23:05.708Z] Failed in branch dockerlogbeat
[2020-07-22T10:23:05.717Z] Failed in branch Journalbeat
[2020-07-22T10:23:06.191Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:06.201Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:06.210Z] Stage "Packetbeat OSS" skipped due to earlier failure(s)
[2020-07-22T10:23:06.220Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-22T10:23:06.229Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-22T10:23:06.337Z] Failed in branch Metricbeat x-pack
[2020-07-22T10:23:06.346Z] Failed in branch Winlogbeat
[2020-07-22T10:23:06.824Z] Failed in branch Heartbeat
[2020-07-22T10:23:06.833Z] Failed in branch Libbeat
[2020-07-22T10:23:06.841Z] Failed in branch Packetbeat OSS
[2020-07-22T10:23:06.850Z] Failed in branch Functionbeat
[2020-07-22T10:23:06.850Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-22T10:23:07.052Z] Failed in branch Generators
[2020-07-22T10:23:09.277Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20130
[2020-07-22T10:23:09.573Z] [INFO] getVaultSecret: Getting secrets
[2020-07-22T10:23:09.660Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-22T10:23:10.688Z] + chmod 755 generate-build-data.sh
[2020-07-22T10:23:10.688Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20130/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20130/runs/1 FAILURE 512085
[2020-07-22T10:23:10.688Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20130/runs/1/steps/?limit=10000 -o steps-info.json
[2020-07-22T10:23:10.939Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20130/runs/1/tests/?status=FAILED -o tests-errors.json

@kuisathaverat kuisathaverat merged commit e01ab42 into elastic:master Jul 27, 2020
v1v added a commit to v1v/beats that referenced this pull request Jul 27, 2020
…ne-2.0

* upstream/master: (41 commits)
  adding possibility to override content-type checks, it was breaking certain webhooks that is not able to set content-headers at all. Still defaults to application/json (elastic#20232)
  fix: use a fixed worker type for tests (elastic#20130)
  [Ingest Manager] Prepare packaging for endpoint and asc files (elastic#20186)
  [Packetbeat] HTTP: Improve support for 100-continue elastic#15830 (elastic#19349)
  Increase index.max_docvalue_fields_search to 200 (elastic#20218)
  [Ingest Manager] Prevent closing closed reader (elastic#20214)
  [Metricbeat] Use MySQL Host Parser in Query metricset (elastic#20191)
  Testing: Ignore timestamp from cylance/protect dataset (elastic#20211)
  [Filebeat] Ignore cylance.protect timestamps while testing (elastic#20207)
  [CI] remove codecov step (elastic#20102)
  [docs] Indicate that SYSTEM user is required on Windows to use Endpoint (elastic#20172)
  Remove f5/firepass rsa2elk fileset (elastic#20160)
  [Elastic Agent] Improve GRPC stop to be more relaxed. (elastic#20118)
  Fix fileset field prefixing (elastic#20170)
  Fix terminating pod autodiscover issue (elastic#20084)
  Call host parser only once when building light metricsets (elastic#20149)
  [CI] fix null string with contains (elastic#20182)
  [Ingest Manager] Fix failing unit tests on windows (elastic#20127)
  [Filebeat] Update crowdstrike module (elastic#20138)
  [docs] Add x-pack role to relevant metricsets (elastic#20167)
  ...
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Jul 27, 2020
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Jul 27, 2020
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Jul 27, 2020
kuisathaverat added a commit to kuisathaverat/beats that referenced this pull request Jul 27, 2020
@zube zube bot removed the [zube]: Done label Jul 27, 2020
kuisathaverat added a commit that referenced this pull request Jul 28, 2020
kuisathaverat added a commit that referenced this pull request Jul 28, 2020
kuisathaverat added a commit that referenced this pull request Jul 28, 2020
kuisathaverat added a commit that referenced this pull request Jul 28, 2020
v1v added a commit to v1v/beats that referenced this pull request Jul 29, 2020
* upstream/7.9: (32 commits)
  feat(ci): support storing artifacts for PRs in separate dirs (elastic#20282) (elastic#20301)
  Cisco ASA: Fix message 106100 (elastic#20245) (elastic#20277)
  [CI] Change upstream reference (elastic#20296) (elastic#20297)
  [docs] Fix Windows download link for agent (elastic#20258) (elastic#20290)
  Cherry-pick to 7.9: [docs] Rename release highlights to what's new (elastic#20255) (elastic#20285)
  Elastic agent on k8s (elastic#19727) (elastic#20262)
  [Filebeat Module] Defender ATP - Adding dashboard (elastic#20058) (elastic#20093)
  fix: use a fixed worker type for tests (elastic#20130) (elastic#20247)
  [Elastic Agent] Fix Windows powershell install service script (elastic#20203) (elastic#20252)
  [Ingest Manager] Fixed unzip on older windows  (elastic#20088) (elastic#20109)
  adding possibility to override content-type checks, it was breaking certain webhooks that is not able to set content-headers at all. Still defaults to application/json (elastic#20232) (elastic#20237)
  [Filebeat][Gsuite] Make GSuite docs more clear (elastic#19981) (elastic#20067)
  Increase index.max_docvalue_fields_search to 200 (elastic#20218) (elastic#20221)
  Call host parser only once when building light metricsets (elastic#20149) (elastic#20190)
  [Metricbeat] Use MySQL Host Parser in Query metricset (elastic#20191) (elastic#20212)
  [Filebeat] Ignore cylance.protect timestamps while testing (elastic#20207) (elastic#20217)
  [libbeat] Fix write error in ensureWriter.Write (elastic#20112) (elastic#20145)
  Cherry-pick elastic#20127 to 7.9: Fix failing unit tests on windows  (elastic#20180)
  Remove f5/firepass rsa2elk fileset (elastic#20160) (elastic#20206)
  Cherry-pick elastic#20138 to 7.9: [Filebeat] Update crowdstrike module (elastic#20177)
  ...
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
@kuisathaverat kuisathaverat deleted the runOnUbuntu18 branch December 24, 2020 11:07
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation ci enhancement Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Run Journalbeat test on Ubuntu 18 only
6 participants