[Dataset quality] Integrations deployment-agnostic api tests#193144
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
x-pack/test/api_integration/deployment_agnostic/services/package_api.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/deployment_agnostic/services/package_api.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/deployment_agnostic/services/package_api.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/deployment_agnostic/services/package_api.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/dataset_quality/README.md
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/dataset_quality/README.md
Outdated
Show resolved
Hide resolved
dmlemeshko
left a comment
There was a problem hiding this comment.
Code LGTM, thanks a lot for taking your time and adding deployment-agnostic tests 🚀
04cc7ee to
f39dccd
Compare
f39dccd to
4d7cae0
Compare
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
To update your PR or re-run it, just comment with: |
| type: 'logs' | 'metrics' | 'synthetics' | 'traces'; | ||
| } | ||
|
|
||
| export function PackageApiProvider({ getService }: DeploymentAgnosticFtrProviderContext) { |
There was a problem hiding this comment.
Thank you for creating this.
achyutjhunjhunwala
left a comment
There was a problem hiding this comment.
Kudos on doing this. great to see the 1st one coming.
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#193144) Relates to elastic#191980. This PR aims to introduce deployment-agnostic configuration for dataset quality tests, specifically targeting `GET /internal/dataset_quality/integrations`. (cherry picked from commit 45c71c5)
…193144) (#193939) # Backport This will backport the following commits from `main` to `8.x`: - [[Dataset quality] Integrations agnostic-deployment api tests (#193144)](#193144) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Yngrid Coello","email":"yngrid.coello@elastic.co"},"sourceCommit":{"committedDate":"2024-09-17T17:52:17Z","message":"[Dataset quality] Integrations agnostic-deployment api tests (#193144)\n\nRelates to https://github.com/elastic/kibana/issues/191980.\r\n\r\nThis PR aims to introduce deployment-agnostic configuration for dataset\r\nquality tests, specifically targeting `GET\r\n/internal/dataset_quality/integrations`.","sha":"45c71c5a6b8f53eeb2c82c4319dfac0205668a8c","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","v8.16.0"],"number":193144,"url":"https://github.com/elastic/kibana/pull/193144","mergeCommit":{"message":"[Dataset quality] Integrations agnostic-deployment api tests (#193144)\n\nRelates to https://github.com/elastic/kibana/issues/191980.\r\n\r\nThis PR aims to introduce deployment-agnostic configuration for dataset\r\nquality tests, specifically targeting `GET\r\n/internal/dataset_quality/integrations`.","sha":"45c71c5a6b8f53eeb2c82c4319dfac0205668a8c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193144","number":193144,"mergeCommit":{"message":"[Dataset quality] Integrations agnostic-deployment api tests (#193144)\n\nRelates to https://github.com/elastic/kibana/issues/191980.\r\n\r\nThis PR aims to introduce deployment-agnostic configuration for dataset\r\nquality tests, specifically targeting `GET\r\n/internal/dataset_quality/integrations`.","sha":"45c71c5a6b8f53eeb2c82c4319dfac0205668a8c"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
|
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
| expect(body.integrations.map((integration: Integration) => integration.name)).to.eql([ | ||
| 'my.custom.integration', | ||
| ]); |
There was a problem hiding this comment.
@yngrdyn I noticed this was failing occasionally in the flaky test runner:
└-> returns custom integrations and its datasets map
└-> "before each" hook: global before each for "returns custom integrations and its datasets map"
└- ✖ fail: Stateful Observability - Deployment-agnostic API integration tests Dataset quality Integrations gets the custom installed integrations returns custom integrations and its datasets map
│ Error: expected [] to sort of equal [ 'my.custom.integration' ]
│ + expected - actual
│
│
│ at Assertion.assert (expect.js:100:11)
│ at Assertion.eql (expect.js:244:8)
│ at Context.<anonymous> (integrations.ts:136:14)
│ at processTicksAndRejections (node:internal/process/task_queues:95:5)
│ at Object.apply (wrap_function.js:74:16)
│
…lastic#221628) When introducing package registry configuration in elastic#193144 I missed the set up of `xpack.fleet.registryUrl` which has resulted in flaky tests whenever the test uses fleet underneath.
…tests (#221628) (#222736) # Backport This will backport the following commits from `main` to `8.19`: - [[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)](#221628) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Yngrid Coello","email":"yngrid.coello@elastic.co"},"sourceCommit":{"committedDate":"2025-05-27T17:14:24Z","message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","backport missing","v9.0.0","v9.1.0","v8.19.0"],"title":"[Deployment Agnostic] Adding registryUrl configuration for DA tests","number":221628,"url":"https://github.com/elastic/kibana/pull/221628","mergeCommit":{"message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221628","number":221628,"mergeCommit":{"message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
…lastic#221628) When introducing package registry configuration in elastic#193144 I missed the set up of `xpack.fleet.registryUrl` which has resulted in flaky tests whenever the test uses fleet underneath. (cherry picked from commit 1a5ba16) # Conflicts: # x-pack/test/api_integration/deployment_agnostic/default_configs/serverless.config.base.ts # x-pack/test/api_integration/deployment_agnostic/default_configs/stateful.config.base.ts
…ests (#221628) (#227942) # Backport Closes #205017 This will backport the following commits from `main` to `9.0`: - [[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)](#221628) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Yngrid Coello","email":"yngrid.coello@elastic.co"},"sourceCommit":{"committedDate":"2025-05-27T17:14:24Z","message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.1.0","v8.19.0"],"title":"[Deployment Agnostic] Adding registryUrl configuration for DA tests","number":221628,"url":"https://github.com/elastic/kibana/pull/221628","mergeCommit":{"message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221628","number":221628,"mergeCommit":{"message":"[Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628)\n\nWhen introducing package registry configuration in\nhttps://github.com//pull/193144 I missed the set up of\n`xpack.fleet.registryUrl` which has resulted in flaky tests whenever the\ntest uses fleet underneath.","sha":"1a5ba164838a212ded3760afb0a932f7d208cf11"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/222736","number":222736,"state":"MERGED","mergeCommit":{"sha":"739d2abeedf4604c2c37b14c04263a2b370455a5","message":"[8.19] [Deployment Agnostic] Adding registryUrl configuration for DA tests (#221628) (#222736)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.19`:\n- [[Deployment Agnostic] Adding registryUrl configuration for DA tests\n(#221628)](https://github.com/elastic/kibana/pull/221628)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>"}}]}] BACKPORT--> Co-authored-by: Yngrid Coello <yngrid.coello@elastic.co>
Relates to #191980.
This PR aims to introduce deployment-agnostic configuration for dataset quality tests, specifically targeting
GET /internal/dataset_quality/integrations.