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] kind setup fails sometimes #21857

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Oct 15, 2020

What does this PR do?

  • Add resilience when the kind setup does not work at first by retrying again.
  • Run each k8s version as independent stages

Why is it important?

  • Avoid environmental issues as much as possible
  • Avoid fail fast for the k8s stages

Related issues

Closes #21856

Tests

image

@v1v v1v requested a review from a team as a code owner October 15, 2020 15:42
@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 Oct 15, 2020
@v1v v1v changed the title Feature/retyr kind issues [CI] kind setup fails sometimes Oct 15, 2020
@v1v v1v self-assigned this Oct 15, 2020
@v1v v1v added the kubernetes Enable builds in the CI for kubernetes label Oct 16, 2020
@v1v
Copy link
Member Author

v1v commented Oct 16, 2020

/test deploy/kubernetes

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

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: [v1v commented: /test deploy/kubernetes]

  • Start Time: 2020-10-16T08:50:18.367+0000

  • Duration: 102 min 58 sec

Test stats 🧪

Test Results
Failed 0
Passed 16321
Skipped 1347
Total 17668

@v1v v1v merged commit 62e7250 into elastic:master Oct 16, 2020
@v1v v1v deleted the feature/retyr-kind-issues branch October 16, 2020 10:42
@zube zube bot added [zube]: Done and removed [zube]: Inbox labels Oct 16, 2020
v1v added a commit to v1v/beats that referenced this pull request Oct 16, 2020
v1v added a commit to v1v/beats that referenced this pull request Oct 16, 2020
v1v added a commit to v1v/beats that referenced this pull request Oct 16, 2020
v1v added a commit that referenced this pull request Oct 19, 2020
v1v added a commit that referenced this pull request Oct 19, 2020
v1v added a commit that referenced this pull request Oct 19, 2020
v1v added a commit to v1v/beats that referenced this pull request Oct 19, 2020
v1v added a commit to v1v/beats that referenced this pull request Oct 19, 2020
* upstream/master: (23 commits)
  [Ingest Manager] Prevent reporting ecs version twice (elastic#21616)
  [CI] Use google storage to keep artifacts (elastic#21910)
  Update docs.asciidoc (elastic#21849)
  Kubernetes leaderelection improvements (elastic#21896)
  Apply name changes to elastic agent docs (elastic#21549)
  Add 7.7.1 relnotes to 7.8 docs (elastic#21937) (elastic#21941)
  [libbeat] Fix potential deadlock in the disk queue + add more unit tests (elastic#21930)
  Refactor docker watcher to fix flaky test and other small issues (elastic#21851)
  [CI] Add stage name in the step (elastic#21887)
  [docs] Remove extra word in autodiscover docs (elastic#21871)
  [CI] lint stage doesn't produce test reports (elastic#21888)
  Add tests of reader of filestream input (elastic#21814)
  [Ingest Manager] Use local temp instead of system one (elastic#21883)
  chore: delegate variant pushes to the right method (elastic#21861)
  [CI] kind setup fails sometimes (elastic#21857)
  Fix panic on add_docker_metadata close (elastic#21882)
  Add tests for fileProspector in filestream input (elastic#21712)
  [Filebeat][okta] Fix okta pagination (elastic#21797)
  Add cloud.account.id into add_cloud_metadata for gcp (elastic#21776)
  Fix syslog RFC 5424 parsing in CheckPoint module (elastic#21854)
  ...
v1v added a commit to v1v/beats that referenced this pull request Oct 19, 2020
* upstream/master: (23 commits)
  [Ingest Manager] Prevent reporting ecs version twice (elastic#21616)
  [CI] Use google storage to keep artifacts (elastic#21910)
  Update docs.asciidoc (elastic#21849)
  Kubernetes leaderelection improvements (elastic#21896)
  Apply name changes to elastic agent docs (elastic#21549)
  Add 7.7.1 relnotes to 7.8 docs (elastic#21937) (elastic#21941)
  [libbeat] Fix potential deadlock in the disk queue + add more unit tests (elastic#21930)
  Refactor docker watcher to fix flaky test and other small issues (elastic#21851)
  [CI] Add stage name in the step (elastic#21887)
  [docs] Remove extra word in autodiscover docs (elastic#21871)
  [CI] lint stage doesn't produce test reports (elastic#21888)
  Add tests of reader of filestream input (elastic#21814)
  [Ingest Manager] Use local temp instead of system one (elastic#21883)
  chore: delegate variant pushes to the right method (elastic#21861)
  [CI] kind setup fails sometimes (elastic#21857)
  Fix panic on add_docker_metadata close (elastic#21882)
  Add tests for fileProspector in filestream input (elastic#21712)
  [Filebeat][okta] Fix okta pagination (elastic#21797)
  Add cloud.account.id into add_cloud_metadata for gcp (elastic#21776)
  Fix syslog RFC 5424 parsing in CheckPoint module (elastic#21854)
  ...
v1v added a commit to v1v/beats that referenced this pull request Oct 19, 2020
…laky-test-analyser

* upstream/master: (22 commits)
  [Ingest Manager] Prevent reporting ecs version twice (elastic#21616)
  [CI] Use google storage to keep artifacts (elastic#21910)
  Update docs.asciidoc (elastic#21849)
  Kubernetes leaderelection improvements (elastic#21896)
  Apply name changes to elastic agent docs (elastic#21549)
  Add 7.7.1 relnotes to 7.8 docs (elastic#21937) (elastic#21941)
  [libbeat] Fix potential deadlock in the disk queue + add more unit tests (elastic#21930)
  Refactor docker watcher to fix flaky test and other small issues (elastic#21851)
  [CI] Add stage name in the step (elastic#21887)
  [docs] Remove extra word in autodiscover docs (elastic#21871)
  [CI] lint stage doesn't produce test reports (elastic#21888)
  Add tests of reader of filestream input (elastic#21814)
  [Ingest Manager] Use local temp instead of system one (elastic#21883)
  chore: delegate variant pushes to the right method (elastic#21861)
  [CI] kind setup fails sometimes (elastic#21857)
  Fix panic on add_docker_metadata close (elastic#21882)
  Add tests for fileProspector in filestream input (elastic#21712)
  [Filebeat][okta] Fix okta pagination (elastic#21797)
  Add cloud.account.id into add_cloud_metadata for gcp (elastic#21776)
  Fix syslog RFC 5424 parsing in CheckPoint module (elastic#21854)
  ...
v1v added a commit that referenced this pull request Oct 30, 2020
* cherry-pick aad07ad
* Add stages to Jenkins pipeline (#14484)
* ci: avoid to modify go.mod file (#16842)
* Ensure install scripts only install if needed (#20349)
* ci: fix warnings with wildcards and archive system-tests (#18695)
* ci: run test on Windows (#15570)
* [CI] fail if not possible to install python3 (#19164)
* [CI] lint stage doesn't produce test reports (#21888)
* [CI] Add stage name in the step (#21887)
* [CI] kind setup fails sometimes (#21857)
* [CI] refactor runbld post build action (#21256)
* [CI] Archive build reasons (#21347)
* [CI] Fix runbld when workspace does not exist (#21350)
* [CI] Send slack message with build status (#21428)
* [CI] Setup git config globally (#21562)
* [CI] fix 'no matches found within 10000' (#21466)
* [CI] Change notification channel (#21559)
* [CI] Support skip-ci label (#21377)
* [BUILD][CI] fetch dependencies with retry (#21614)
* Disable x-pack/metricbeat in linux since build is broken #21962
* Disable tests for windows in auditbeat. See #21958
* Disable integration testing for libbeat. See #21959
* Disable integration testing for metricbeat. See #21961
* Disable windows build for auditbeat. See #21958
* Disable build for libbeat. See #21959
* Disable build for metricbeat. See #21961
* Disable windows build for metricbeat. See #22257
* Disable build for x-pack/metricbeat. See #21962
* Disable windows build for x-pack/winlogbeat. See #22263
* Disable windows build for x-pack/filebeat. See #21963
* integration-tests-environment is not available for winlogbeat. see #22265
* integration-tests-environment is not available for packetbeat. see #22266
* Build not available for x-pack/metricbeats in 6.8. See #22269
* Cherry-pick 96c60d0
@zube zube bot removed the [zube]: Done label Jan 14, 2021
narph added a commit to elastic/elastic-agent that referenced this pull request Feb 15, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <[email protected]>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <[email protected]>
narph added a commit to narph/elastic-agent-temp that referenced this pull request Feb 21, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <[email protected]>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <[email protected]>
narph added a commit to elastic/elastic-agent that referenced this pull request Mar 3, 2022
* fix docs

* add scripts

* script: enable execution permissions

* ci: enable k8s specific validations (#19)

* ci: enable k8s specific validations

* add scripts

* ci: use the rigth when

* ci: enable k8s specific validations

* ci: use the rigth when

* script: enable execution permissions

* script: enable execution permissions

* ci: enable k8s specific validations

* ci: use the rigth when

* Update .ci/Jenkinsfile

Co-authored-by: narph <[email protected]>

* delete cluster

* test

* add delete

* ci: more resilience when installing kind

See elastic/beats#21857

* ci: argument in the signature is not needed

* remove duplicate

* ci: simplify kind/kubectl environment (#22)

* revert aarch64 changes (#21)

* revert aarch64

* fmt

* rename

* rename

* rename

* ci: run k8s validation for different versions (#25)

Co-authored-by: Victor Martinez <[email protected]>
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 kubernetes Enable builds in the CI for kubernetes Team:Automation Label for the Observability productivity team v7.9.3 v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[deploy/kubernetes] kind setup fails sometimes
5 participants