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 Tests.x-pack/plugins/task_manager/server/routes - healthRoute logs at an error level if the status is error #106388

Closed
kibanamachine opened this issue Jul 21, 2021 · 3 comments · Fixed by #107036
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 21, 2021

A test failed on a tracked branch

Error: expect(received).toMatchObject(expected)

- Expected  - 5
+ Received  + 5

@@ -1,13 +1,13 @@
  Object {
    "id": "db2f6a46-e910-4cda-978a-efc0e1d4de6f",
-   "last_update": "2021-07-21T10:04:35.329Z",
+   "last_update": "2021-07-21T10:04:35.328Z",
    "stats": Object {
      "capacity_estimation": Any<Object>,
      "configuration": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T10:04:35.329Z",
+       "timestamp": "2021-07-21T10:04:35.328Z",
        "value": Object {
          "max_poll_inactivity_cycles": 10,
          "max_workers": 10,
          "monitored_aggregated_stats_refresh_rate": 5000,
          "monitored_stats_running_average_window": 50,
@@ -52,11 +52,11 @@
          },
        },
      },
      "runtime": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T10:04:35.329Z",
+       "timestamp": "2021-07-21T10:04:35.328Z",
        "value": Object {
          "drift": Object {
            "p50": 30500,
            "p90": 60000,
            "p95": 60000,
@@ -102,11 +102,11 @@
              "p50": 500,
              "p90": 3000,
              "p95": 3000,
              "p99": 3000,
            },
-           "last_successful_poll": "2021-07-21T10:04:35.329Z",
+           "last_successful_poll": "2021-07-21T10:04:35.328Z",
            "persistence": Object {
              "non_recurring": 0,
              "recurring": 0,
            },
            "result_frequency_percent_as_number": Object {
@@ -120,11 +120,11 @@
          },
        },
      },
      "workload": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T10:04:35.329Z",
+       "timestamp": "2021-07-21T10:04:35.328Z",
        "value": Object {
          "capacity_requirements": Object {
            "per_day": 820,
            "per_hour": 360,
            "per_minute": 150,
    at Object.<anonymous> (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/x-pack/plugins/task_manager/server/routes/health.test.ts:236:47)
    at _callCircusTest (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/run.js:212:5)
    at _runTest (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/run.js:149:3)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/run.js:63:9)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/run.js:57:9)
    at run (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:176:21)
    at jestAdapter (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:109:19)
    at runTestInternal (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/var/lib/jenkins/workspace/elastic+kibana+7.x/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 21, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 21, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mistic mistic added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Jul 22, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 22, 2021
mistic added a commit that referenced this issue Jul 22, 2021
mistic added a commit that referenced this issue Jul 22, 2021
@mistic
Copy link
Member

mistic commented Jul 22, 2021

This test keeps failing and looks flaky. Skipping for now.

master/8.0: 1002125
7.x/7.15: 9d74286

@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants