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

[code coverage] ingest correct coveredFilePath for mocha #70215

Conversation

dmlemeshko
Copy link
Member

@dmlemeshko dmlemeshko commented Jun 29, 2020

Summary

Fixing coveredFilePath for mocha: we ingest wrong value because we do not merge mocha, it is executed under oss-intake and coverage report contains original root path. As for jest and functional we do merge it in other worker, and we later use COVERAGE_INGESTION_KIBANA_ROOT value to clean path.

For mocha we need to override COVERAGE_INGESTION_KIBANA_ROOT with original worker path: /dev/shm/workspace/kibana

Discover - Elastic 2020-06-29 17-00-26

job: https://kibana-ci.elastic.co/job/elastic+kibana+code-coverage/862/

Fixed:

Discover - Elastic 2020-06-30 01-25-46

@dmlemeshko dmlemeshko added backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:QA Team label for QA Team v8.0.0 labels Jun 29, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

@dmlemeshko dmlemeshko marked this pull request as ready for review June 29, 2020 23:26
@dmlemeshko dmlemeshko requested a review from a team as a code owner June 29, 2020 23:26
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-qa (Team:QA)

Copy link
Contributor

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

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

LGTM

@dmlemeshko dmlemeshko merged commit 6027451 into elastic:master Jun 30, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 1, 2020
* master:
  [ML] Modifies page title to Create job (elastic#70191)
  [APM] Add API test for service maps (elastic#70185)
  [DOCS] Adds glossary to documentation (elastic#69721)
  [Usage Collection] Report nodes feature usage (elastic#70108)
  chore: improve support for mjs file extension (elastic#70186)
  [ML] Anomaly Detection: ensure  'Category examples' tab in the expanded table row can be seen (elastic#70241)
  [Maps] Add maps telemetry saved object in with mappings disabled (elastic#69995)
  Fix typo in bootstrap command (elastic#69976)
  [code coverage] ingest correct coveredFilePath for mocha (elastic#70215)
  [Dashboard] Add visualization by value to dashboard (elastic#69898)
  updates wording in Cases connectors (elastic#70298)
  [ML] Fix license subscription race condition. (elastic#70074)
  [Logs UI] [Alerting] "Group by" functionality (elastic#68250)
Bamieh pushed a commit to Bamieh/kibana that referenced this pull request Jul 1, 2020
* [code coverage] ingest correct coveredFilePath for mocha

* export variable globally so it is availble in node script
@dmlemeshko dmlemeshko deleted the coverage/fix-data-in-mocha-coveredFilePath-field branch January 31, 2022 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:QA Team label for QA Team v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants