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

[Dataset Quality] Work around a geoip limitation in CI #203165

Conversation

weltenwort
Copy link
Member

@weltenwort weltenwort commented Dec 5, 2024

📝 Summary

The geoip database is not available in CI, so a tags field is added to all ingested APM app log documents. This PR covers up the difference in field counts between serverless CI and MKI by always having a tags field in the documents. It also unskips the test that failed in MKI because of this.

The geoip database is not available in CI, so a `tags` field is added to all
ingested APM app log documents. This covers up the difference in field counts
between serverless CI and MKI by always having a `tags` field in the documents.
@weltenwort weltenwort added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-logs Observability Logs User Experience Team Feature:Dataset Health labels Dec 5, 2024
@weltenwort weltenwort self-assigned this Dec 5, 2024
@weltenwort weltenwort marked this pull request as ready for review December 5, 2024 18:44
@weltenwort weltenwort requested a review from a team as a code owner December 5, 2024 18:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@weltenwort weltenwort requested review from a team as code owners December 6, 2024 10:56
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Dec 6, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

Copy link
Contributor

github-actions bot commented Dec 6, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@weltenwort
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 9, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: e9b23b8
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-203165-e9b23b8a35f1

Metrics [docs]

✅ unchanged

History

cc @weltenwort

Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for identifying the cause of the failure and the fix.

Tested on MKI and tests are now passing.

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.

Code LGTM

@weltenwort weltenwort merged commit 62e059f into elastic:main Dec 11, 2024
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12275701304

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 203165

Questions ?

Please refer to the Backport tool documentation

@weltenwort
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

weltenwort added a commit to weltenwort/kibana that referenced this pull request Dec 11, 2024
The geoip database is not available in CI, so a `tags` field is added to
all ingested APM app log documents. This covers up the difference in
field counts between serverless CI and MKI by always having a `tags`
field in the documents. It also unskips the test that failed in MKI
because of this.

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 62e059f)

# Conflicts:
#	x-pack/test_serverless/functional/test_suites/observability/dataset_quality/degraded_field_flyout.ts
weltenwort added a commit that referenced this pull request Dec 11, 2024
#203795)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Dataset Quality] Work around a geoip limitation in CI
(#203165)](#203165)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Felix
Stürmer","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-11T11:46:40Z","message":"[Dataset
Quality] Work around a geoip limitation in CI (#203165)\n\nThe geoip
database is not available in CI, so a `tags` field is added to\r\nall
ingested APM app log documents. This covers up the difference
in\r\nfield counts between serverless CI and MKI by always having a
`tags`\r\nfield in the documents. It also unskips the test that failed
in MKI\r\nbecause of this.\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"62e059f0ca62f6f016af3bdb47fc74826f05f896","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services","Feature:Dataset
Health"],"number":203165,"url":"https://github.com/elastic/kibana/pull/203165","mergeCommit":{"message":"[Dataset
Quality] Work around a geoip limitation in CI (#203165)\n\nThe geoip
database is not available in CI, so a `tags` field is added to\r\nall
ingested APM app log documents. This covers up the difference
in\r\nfield counts between serverless CI and MKI by always having a
`tags`\r\nfield in the documents. It also unskips the test that failed
in MKI\r\nbecause of this.\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"62e059f0ca62f6f016af3bdb47fc74826f05f896"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203165","number":203165,"mergeCommit":{"message":"[Dataset
Quality] Work around a geoip limitation in CI (#203165)\n\nThe geoip
database is not available in CI, so a `tags` field is added to\r\nall
ingested APM app log documents. This covers up the difference
in\r\nfield counts between serverless CI and MKI by always having a
`tags`\r\nfield in the documents. It also unskips the test that failed
in MKI\r\nbecause of this.\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"62e059f0ca62f6f016af3bdb47fc74826f05f896"}}]}]
BACKPORT-->
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
The geoip database is not available in CI, so a `tags` field is added to
all ingested APM app log documents. This covers up the difference in
field counts between serverless CI and MKI by always having a `tags`
field in the documents. It also unskips the test that failed in MKI
because of this.

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project Feature:Dataset Health release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-logs Observability Logs User Experience Team v8.18.0 v9.0.0
Projects
None yet
5 participants