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

Failing test: Jest Integration Tests.packages/kbn-optimizer/src/integration_tests - uses cache on second run and exist cleanly #70764

Closed
kibanamachine opened this issue Jul 5, 2020 · 9 comments · Fixed by #70827
Labels
failed-test A test failure on a tracked branch, potentially flaky-test impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Operations Team label for Operations Team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 5, 2020

A test failed on a tracked branch

Error: expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `uses cache on second run and exist cleanly 1`

- Snapshot  - 0
+ Received  + 5

  Array [
    "initializing",
    "initializing",
    "initializing",
    "initialized",
+   "initialized",
+   "running",
+   "running",
+   "running",
+   "running",
    "success",
  ]
    at Object.<anonymous>.it (/dev/shm/workspace/kibana/packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts:191:42)
    at process._tickCallback (internal/process/next_tick.js:68:7)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mistic mistic added skipped-test Team:Operations Team label for Operations Team v7.9.0 v8.0.0 labels Jul 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@mistic
Copy link
Member

mistic commented Jul 5, 2020

This test is also failing on master and 7.x.

Screenshot 2020-07-06 at 16 04 04

Skipping for now for unblock the tracked branches

mistic added a commit that referenced this issue Jul 5, 2020
mistic added a commit that referenced this issue Jul 5, 2020
gmmorris added a commit to gmmorris/kibana that referenced this issue Jul 6, 2020
* master:
  [APM-UI] e2e speed up build (elastic#70704)
  skip flaky suite (elastic#70764)
  skip flaky suite (elastic#70762)
  [Security Solution][Endpoint] Update to new manifest format (without compression) (elastic#70752)
  [functional tests] test url field formatter on dashboard and discover (elastic#70736)
  logout from transform_poweruser user in after method of transform tests (elastic#70644)
  [SECURITY] Bug fix for topN on draggables (elastic#70450)
  [Logs UI] Reorganise log rate anomaly table (elastic#69516)
  Update dependency @elastic/charts to v19.7.0 (elastic#69791)
  Add googlecloud metricbeat module to Kibana Home (elastic#70652)
  [Logs UI] Logs overview queries for the observability dashboard (elastic#70413)
  [Lens] Fitting functions (elastic#69820)
gmmorris added a commit to gmmorris/kibana that referenced this issue Jul 6, 2020
* master:
  [APM-UI] e2e speed up build (elastic#70704)
  skip flaky suite (elastic#70764)
  skip flaky suite (elastic#70762)
  [Security Solution][Endpoint] Update to new manifest format (without compression) (elastic#70752)
  [functional tests] test url field formatter on dashboard and discover (elastic#70736)
  logout from transform_poweruser user in after method of transform tests (elastic#70644)
  [SECURITY] Bug fix for topN on draggables (elastic#70450)
  [Logs UI] Reorganise log rate anomaly table (elastic#69516)
  Update dependency @elastic/charts to v19.7.0 (elastic#69791)
  Add googlecloud metricbeat module to Kibana Home (elastic#70652)
  [Logs UI] Logs overview queries for the observability dashboard (elastic#70413)
gmmorris added a commit to gmmorris/kibana that referenced this issue Jul 6, 2020
* actions/feature:
  fixed type errors
  [APM-UI] e2e speed up build (elastic#70704)
  skip flaky suite (elastic#70764)
  skip flaky suite (elastic#70762)
  [Security Solution][Endpoint] Update to new manifest format (without compression) (elastic#70752)
  [functional tests] test url field formatter on dashboard and discover (elastic#70736)
  logout from transform_poweruser user in after method of transform tests (elastic#70644)
  [SECURITY] Bug fix for topN on draggables (elastic#70450)
  [Logs UI] Reorganise log rate anomaly table (elastic#69516)
  Update dependency @elastic/charts to v19.7.0 (elastic#69791)
  Add googlecloud metricbeat module to Kibana Home (elastic#70652)
  [Logs UI] Logs overview queries for the observability dashboard (elastic#70413)
mistic added a commit that referenced this issue Jul 6, 2020
@sorenlouv
Copy link
Member

sorenlouv commented Jul 6, 2020

Skipping for now for unblock the tracked branches

@mistic I'm still having a related problem on master:

Snapshot Summary
 › 1 snapshot obsolete from 1 test suite. To remove it, re-run jest with `-u`.
   ↳ packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
       • builds expected bundles, saves bundle counts to metadata: OptimizerConfig 1

Test Suites: 49 passed, 49 total
Tests:       3 skipped, 363 passed, 366 total
Snapshots:   1 obsolete, 58 passed, 58 total
Time:        1117.174s
Ran all test suites.
Fatal error: jest exited with code 1�
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Do you know anything about that?

@mistic
Copy link
Member

mistic commented Jul 6, 2020

@sqren are you having it on last master? I'm not seeing that failure when running node scripts/jest_integration.js packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts and on the CI master is now green

@sorenlouv
Copy link
Member

I was seeing it on every branch targeting master but it now seems to be resolved 👍

@sorenlouv
Copy link
Member

sorenlouv commented Jul 6, 2020

This was failing at 9am (CET) this morning on master but looks like it was fixed sometime before 11am

spalger added a commit to spalger/kibana that referenced this issue Jul 6, 2020
@kibanamachine kibanamachine reopened this Sep 22, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@tylersmalley tylersmalley added 1 and removed 1 labels Oct 11, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Feb 16, 2022
@exalate-issue-sync exalate-issue-sync bot removed the loe:small Small Level of Effort label Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants