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

smoketest: Add APM Managed tests #8477

Merged
merged 3 commits into from
Jul 5, 2022

Conversation

marclop
Copy link
Contributor

@marclop marclop commented Jun 24, 2022

Motivation/summary

Adds two new smoke tests which migrate the APM Server from standalone to
managed mode. All tests ingest data and asserts its existence in ES
after the deployment has been created / upgraded.

  • legacy-managed.sh: Creates a 7.17.latest deployment, migrates from
    standalone to managed mode.
  • standalone-major-managed.sh: Creates a 7.17.latest deployment,
    upgrades to the 8.latest.latest, and migrates from standalone to
    managed mode.

The second test takes significantly longer since major version upgrades
take a decent amount of time (~10m).

Checklist

- [ ] Update CHANGELOG.asciidoc
- [ ] Update package changelog.yml (only if changes to apmpackage have been made)
- [ ] Documentation has been updated

How to test these changes

  1. make smoketest SMOKETEST_VERSIONS=7.17.
  2. Ensure the exit code is zero.

Related issues

Part of #8303

Adds two new smoke tests which migrate the APM Server from standalone to
managed mode. All tests ingest data and asserts its existence in ES
after the deployment has been created / upgraded.

- `legacy-managed.sh`: Creates a `7.17.latest` deployment, migrates from
    standalone to managed mode.
- `standalone-major-managed.sh`: Creates a `7.17.latest` deployment,
    upgrades to the `8.latest.latest`, and migrates from standalone to
    managed mode.

The second test takes significantly longer since major version upgrades
take a decent amount of time (~10m).

Signed-off-by: Marc Lopez Rubio <[email protected]>
@marclop marclop added enhancement backport-skip Skip notification from the automated backport with mergify v8.4.0 labels Jun 24, 2022
@apmmachine
Copy link
Contributor

apmmachine commented Jun 24, 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-07-04T07:26:48.185+0000

  • Duration: 29 min 7 sec

Test stats 🧪

Test Results
Failed 0
Passed 4108
Skipped 13
Total 4121

🤖 GitHub comments

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

  • /test : Re-trigger the build.

  • /hey-apm : Run the hey-apm benchmark.

  • /package : Generate and publish the docker images.

  • /test windows : Build & tests on Windows.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@apmmachine
Copy link
Contributor

apmmachine commented Jun 24, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (42/42) 💚
Files 91.96% (183/199) 👍
Classes 93.435% (427/457) 👍
Methods 89.163% (1086/1218) 👍
Lines 76.869% (13329/17340) 👍 0.04
Conditionals 100.0% (0/0) 💚

@marclop marclop requested a review from a team July 4, 2022 07:26
@marclop marclop merged commit 41defd4 into elastic:main Jul 5, 2022
@marclop marclop deleted the f/add-two-more-smoke-test-cases branch July 5, 2022 01:01
@marclop marclop mentioned this pull request Jul 6, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify enhancement v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants