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

[FTR] Refactor test/common/services/* -> packages/kbn-ftr-common-functional-[ui-]services/* #191805

Merged
merged 29 commits into from
Sep 5, 2024

Conversation

wayneseymour
Copy link
Member

@wayneseymour wayneseymour commented Aug 30, 2024

Summary

Moving common services to respective new homes.

This PR is revived from a previously merged and reverted PR as detailed here.

Why these failures were not caught in the original PR

The pipeline is generated at runtime, and the original PR had zero changes under x-pack/plugins/observability_solution/

Changes on top of original PR

  • Add ci:all-cypress-suites label to run extra tests
  • Add services stanza to which contains the missing references by spreading the services from @kbn/ftr-common-functional-services && @kbn/ftr-common-functional-ui-services into the stanza, for the following:
    • x-pack/plugins/observability_solution/synthetics/e2e/config.ts
    • x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts
    • x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts
    • x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts
    • x-pack/plugins/observability_solution/synthetics/e2e/config.ts
    • x-pack/plugins/observability_solution/uptime/e2e/config.ts

Blocked by: #191961
Resolves: #188541

Copy link

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@wayneseymour wayneseymour added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting FTR labels Aug 30, 2024
@wayneseymour wayneseymour self-assigned this Aug 30, 2024
@wayneseymour
Copy link
Member Author

Looks like there are 22 potential files that could need an update
Screenshot 2024-08-30 at 10 58 33

@wayneseymour
Copy link
Member Author

/ci

1 similar comment
@wayneseymour
Copy link
Member Author

/ci

@wayneseymour
Copy link
Member Author

wayneseymour commented Aug 30, 2024

Flakiness was due to (Client.Timeout exceeded while awaiting headers):

Job Environment Setup
  | Error response from daemon: Get "https://docker.elastic.co/v2/": Get "https://docker-auth.elastic.co/auth?account=kibanamachine&client_id=docker&offline_token=true&service=token-service": net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)

@wayneseymour wayneseymour marked this pull request as ready for review August 30, 2024 14:02
@wayneseymour wayneseymour requested review from a team as code owners August 30, 2024 14:02
Copy link
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Aug 30, 2024
@wayneseymour
Copy link
Member Author

wayneseymour commented Sep 3, 2024

Same "extra tests" failing on kibana / on merge unsupported ftrs (Upgrade EUI to v95.9.0 (#190752)) as well

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obs Ux Infra Services changes LGTM (code review)

@wayneseymour
Copy link
Member Author

Reached out to ops team for guidance on what to do in this situation: where tests are failing on https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs and in a pr

@wayneseymour
Copy link
Member Author

Adding the ci:all-cypress-suites label back now

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 3, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: e89522d
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-191805-e89522db1762

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/ftr-common-functional-services 32 69 +37
@kbn/ftr-common-functional-ui-services 511 520 +9
total +46

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
@kbn/ftr-common-functional-ui-services 3 7 +4
Unknown metric groups

API count

id before after diff
@kbn/ftr-common-functional-services 47 94 +47
@kbn/ftr-common-functional-ui-services 551 560 +9
total +56

History

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

cc @wayneseymour

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fleet changes LGTM 🚀

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core changes LGTM!

Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@logeekal logeekal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@wayneseymour wayneseymour merged commit 69665ce into elastic:main Sep 5, 2024
56 checks passed
@wayneseymour wayneseymour deleted the refactor-common-svcs branch September 5, 2024 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:review backport:skip This commit does not require backporting ci:all-cypress-suites ci:project-deploy-observability Create an Observability project FTR release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Meta][FTR] Move services to packages