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 a warn level if the status is warning #106350

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

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expect(received).toMatchObject(expected)

- Expected  - 4
+ Received  + 4

@@ -22,11 +22,11 @@
          "request_capacity": 1000,
        },
      },
      "ephemeral": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T05:15:15.594Z",
+       "timestamp": "2021-07-21T05:15:15.593Z",
        "value": Object {
          "delay": Object {
            "p50": 0,
            "p90": 0,
            "p95": 0,
@@ -52,11 +52,11 @@
          },
        },
      },
      "runtime": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T05:15:15.594Z",
+       "timestamp": "2021-07-21T05:15:15.593Z",
        "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-21T05:15:15.594Z",
+           "last_successful_poll": "2021-07-21T05:15:15.593Z",
            "persistence": Object {
              "non_recurring": 0,
              "recurring": 0,
            },
            "result_frequency_percent_as_number": Object {
@@ -120,11 +120,11 @@
          },
        },
      },
      "workload": Object {
        "status": "OK",
-       "timestamp": "2021-07-21T05:15:15.594Z",
+       "timestamp": "2021-07-21T05:15:15.593Z",
        "value": Object {
          "capacity_requirements": Object {
            "per_day": 820,
            "per_hour": 360,
            "per_minute": 150,
    at Object.<anonymous> (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/x-pack/plugins/task_manager/server/routes/health.test.ts:163:47)
    at _callCircusTest (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/run.js:212:5)
    at _runTest (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/run.js:149:3)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/run.js:63:9)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/run.js:57:9)
    at run (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:176:21)
    at jestAdapter (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:109:19)
    at runTestInternal (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/var/lib/jenkins/workspace/elastic+kibana+master/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/var/lib/jenkins/workspace/elastic+kibana+master/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
@timroes timroes added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jul 21, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 21, 2021
@joshdover joshdover added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Jul 27, 2021
@elasticmachine
Copy link
Contributor

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

@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
failed-test A test failure on a tracked branch, potentially flaky-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants