Skip to content

Run automated smoke tests on ESS #8303

@simitt

Description

@simitt

Problem

We want to own automated tests of the APM Server setup (with and without Elastic Agent) on Elastic ESS.

Solution

The APM Server systemtests should contain an ESS testing package that runs the tests specified under Validation Criteria. Tests are mostly testing the overall setup, that all involved components on ESS work together as expected.

There is no requirement to run the tests on a PR basis, but rather on a daily basis for now.

The tests have to create a deployment on ESS on which a specified test set can then be run.
For the deployment creation we will receive support from the eng productivity team (cc @cachedout) and try to leverage some of the work that has been done for benchmarking.

Validation Criteria

  • Daily Jenkins job is set up to run a defined set of APM Server tests on the ESS infrastructure.

The tests suit runs tests for:

  • standalone APM Server (created in 7.17)
  • managed APM Server (created in 8.0)
  • standalone APM Server migrated to managed APM Server (7.17)

We want to test upgrades for:

  • 7.17.x-1 upgrading to 7.17.x
  • 8.x: the last released version to the new minor version under development

We want to run following test cases:

  • data ingestion to APM Server for backend and RUM agents where events are successfully stored to the expected data streams.
  • fetching index & component templates, ILM policies and index pipelines and verifying that they are set up in the expected version

No-gos

In this first iteration we focus on ESS; ECE is out of scope.
We do not focus on triggering the tests on a PR basis for now.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions