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

[scout] add dynamic ci pipeline to run tests #211797

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from

Conversation

dmlemeshko
Copy link
Member

@dmlemeshko dmlemeshko commented Feb 19, 2025

Summary

closes #211592

This PR improves the way we run scout tests by discovering all the plugins that have the scout tests and run tests in multiple workers:

image

How it works:

  1. Run search script to find all existing scout playwright config files across kibana repo
  2. Save results into scout_test_configs.json file, that will be used as source to run configs in individual jobs per plugin. Upload it as BK artifact.
  3. Spin up job for each plugin mentioned in scout_test_configs.json
  4. In each individual job use scout_test_configs.json and get configs for specific plugin.
    While running configs 1 by 1 collect command exit code with the following rules:
  • configs run passed => exit code 0 , final status remains 0
  • config has no tests => exit code 2, put config name into configsWithoutTests group to push BK annotation later, change exit status to 0 - we accept configs without tests at current stage
  • config run fails => exit code 1, final status changed to 1 and job will fail in the end; put config name into failedConfigs group to push BK annotation later
Screenshot 2025-02-21 at 14 34 16

@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 19, 2025

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 6, 2025

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #35 / discover/context_awareness extension getAdditionalCellActions data view mode should render additional cell actions for logs data source
  • [job] [logs] FTR Configs #90 / InfraOps App Metrics UI Node Details #Asset Type: host Osquery Tab should not show a date picker

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic CI pipeline for UI tests
2 participants