Skip to content

[ftr] add lost APM stateful configs#188825

Merged
dmlemeshko merged 1 commit intoelastic:mainfrom
dmlemeshko:ftr/add-missing-apm-configs
Jul 22, 2024
Merged

[ftr] add lost APM stateful configs#188825
dmlemeshko merged 1 commit intoelastic:mainfrom
dmlemeshko:ftr/add-missing-apm-configs

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

Summary

During #187440 we lost some FTR configs, this PR adds it back.

@dmlemeshko
Copy link
Copy Markdown
Contributor Author

/ci

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #98 / Cloud Security Posture Test adding Cloud Security Posture Integrations CNVM CNVM AWS Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dmlemeshko dmlemeshko marked this pull request as ready for review July 22, 2024 13:04
@dmlemeshko dmlemeshko requested a review from a team as a code owner July 22, 2024 13:04
@dmlemeshko dmlemeshko added v8.15.0 release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Jul 22, 2024
@dmlemeshko dmlemeshko merged commit 605b104 into elastic:main Jul 22, 2024
dmlemeshko added a commit that referenced this pull request Jul 22, 2024
## Summary

Follow-up to #188825

@crespocarlos reported that some Oblt configs after missing after
#187440

I was using `node scripts/check_ftr_configs.js` to validate I did not
miss anything and decided to debug the script.

We had a pretty strict config file content validation like
`testRunner|testFiles`, that was skipping some FTR configs like
`x-pack/test/apm_api_integration/basic/config.ts`

I extended file content check to look for default export function and
also skip test/suite or Cypress-own config files.

In the end 7 FTR configs were discovered, but only 2 are with tests. I
will ask owners to confirm if it should be enabled/disabled. Script run
output:

```
node scripts/check_ftr_configs.js
ERROR The following files look like FTR configs which are not listed in one of manifest files:
        - x-pack/plugins/observability_solution/uptime/e2e/config.ts
        - x-pack/test/functional_basic/apps/ml/config.base.ts
        - x-pack/test/functional_basic/apps/transform/config.base.ts
        - x-pack/test/security_solution_api_integration/config/ess/config.base.trial.ts
        - x-pack/test_serverless/functional/test_suites/observability/cypress/oblt_config.base.ts

      Make sure to add your new FTR config to the correct manifest file.

      Stateful tests:
      .buildkite/ftr_platform_stateful_configs.yml
      .buildkite/ftr_oblt_stateful_configs.yml
      .buildkite/ftr_security_stateful_configs.yml
      .buildkite/ftr_search_stateful_configs.yml

      Serverless tests:
      .buildkite/ftr_base_serverless_configs.yml
      .buildkite/ftr_oblt_serverless_configs.yml
      .buildkite/ftr_security_serverless_configs.yml
      .buildkite/ftr_search_serverless_configs.yml

ERROR Please add the listed paths to the correct manifest file. If it's not an FTR config, you can add it to the IGNORED_PATHS in packages/kbn-test/src/functional_test_runner/lib/config/run_check_ftr_configs_cli.ts or contact #kibana-operations
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.15.0 v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants