Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

chore: wait for the stack while provisioning#2486

Merged
mdelapenya merged 2 commits intoelastic:mainfrom
mdelapenya:wait-for-stack
May 6, 2022
Merged

chore: wait for the stack while provisioning#2486
mdelapenya merged 2 commits intoelastic:mainfrom
mdelapenya:wait-for-stack

Conversation

@mdelapenya
Copy link
Copy Markdown
Contributor

What does this PR do?

It adds three Ansible tasks to wait for the different services that represent the Elastic stack: Elasticsearch, Kibana and Fleet Server

The wait_for Ansible module will use the main ports for each service, including a delay of 10 seconds. The default max timout of 300 secs will be used.

Why is it important?

We have detected that after launching the stack, the fleet-server container dies, causing all the following test scenarios to fail. We want to fail fast and not to create all the VMs in the case the stack is not healthy

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 run the Unit tests (make unit-test), and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

@mdelapenya mdelapenya added Team:Automation Label for the Observability productivity team area:ci Anything related to the CI backport-v7.17.0 Automated backport with mergify backport-v8.1.0 Automated backport with mergify backport-v8.2.0 Automated backport with mergify labels May 6, 2022
@mdelapenya mdelapenya self-assigned this May 6, 2022
@mdelapenya mdelapenya requested a review from a team May 6, 2022 10:33
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented May 6, 2022

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2022-05-06T10:38:40.780+0000

  • Duration: 62 min 30 sec

Test stats 🧪

Test Results
Failed 0
Passed 315
Skipped 0
Total 315

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@mdelapenya mdelapenya mentioned this pull request May 6, 2022
8 tasks
@mdelapenya mdelapenya merged commit eff04e7 into elastic:main May 6, 2022
mergify bot pushed a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)
mergify bot pushed a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)
mergify bot pushed a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)
mdelapenya added a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
mdelapenya added a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
mdelapenya added a commit that referenced this pull request May 6, 2022
* chore: wait for the stack while provisioning

* chore: simplify ansible task with a loop

(cherry picked from commit eff04e7)

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request May 9, 2022
* main:
  bump stack version 8.3.0-5c1ff35f (elastic#2494)
  chore: reduce AWS instances size (elastic#2477)
  chore: wait for the stack while provisioning (elastic#2486)
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request May 22, 2022
* main:
  bump stack version 8.3.0-8ee1196f (elastic#2519)
  ci: daily pipeline to use main branch (elastic#2516)
  bump stack version 8.3.0-53513548 (elastic#2513)
  chore: run reaper daily at 1:30 am (elastic#2512)
  avoid aliases if no major.minor format (elastic#2501)
  bump stack version 8.3.0-d380914f (elastic#2505)
  chore: refactor cucumber tags (elastic#2496)
  chore: skip system-integration scenarios for Beats (elastic#2482)
  bump stack version 8.3.0-5c1ff35f (elastic#2494)
  chore: reduce AWS instances size (elastic#2477)
  chore: wait for the stack while provisioning (elastic#2486)
  bump stack version 8.3.0-6ba9f710 (elastic#2484)
@mdelapenya mdelapenya deleted the wait-for-stack branch July 13, 2022 09:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:ci Anything related to the CI backport-v7.17.0 Automated backport with mergify backport-v8.1.0 Automated backport with mergify backport-v8.2.0 Automated backport with mergify Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants