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

[WIP][Uptime] Ml detecttion of duration anamolies #58483

Closed

Conversation

@shahzad31
Copy link
Contributor

shahzad31 commented Feb 25, 2020

Summary

[WIP]
Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@shahzad31 shahzad31 changed the title Ml detecttion of duration anamolies [Uptime] Ml detecttion of duration anamolies Mar 5, 2020
@shahzad31 shahzad31 self-assigned this Mar 5, 2020
@shahzad31 shahzad31 added the WIP label Mar 5, 2020
@shahzad31 shahzad31 marked this pull request as ready for review Mar 5, 2020
@shahzad31 shahzad31 requested review from elastic/apm-ui as code owners Mar 5, 2020
config/kibana.yml Outdated Show resolved Hide resolved
@shahzad31 shahzad31 changed the title [Uptime] Ml detecttion of duration anamolies [WIP][Uptime] Ml detecttion of duration anamolies Mar 10, 2020
shahzad31 added 2 commits Mar 10, 2020
@kibanamachine

This comment has been minimized.

Copy link

kibanamachine commented Mar 10, 2020

💔 Build Failed


Test Failures

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/plugins/ml/server/models/data_recognizer.ML - data recognizer listModules - check all module IDs

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 3 times on tracked branches: https://github.com/elastic/kibana/issues/59541


Stack Trace

Error: expect(received).toEqual(expected) // deep equality

Expected: "apache_ecs,apm_jsbase,apm_nodejs,apm_transaction,auditbeat_process_docker_ecs,auditbeat_process_hosts_ecs,logs_ui_analysis,logs_ui_categories,metricbeat_system_ecs,nginx_ecs,sample_data_ecommerce,sample_data_weblogs,siem_auditbeat,siem_auditbeat_auth,siem_packetbeat,siem_winlogbeat,siem_winlogbeat_auth"
Received: "apache_ecs,apm_jsbase,apm_nodejs,apm_transaction,auditbeat_process_docker_ecs,auditbeat_process_hosts_ecs,logs_ui_analysis,logs_ui_categories,metricbeat_system_ecs,nginx_ecs,sample_data_ecommerce,sample_data_weblogs,siem_auditbeat,siem_auditbeat_auth,siem_packetbeat,siem_winlogbeat,siem_winlogbeat_auth,uptime_high_latency"
    at Object.it (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.test.ts:52:24)

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/legacy/plugins/uptime/public/components/functional/charts/__tests__.MonitorCharts component renders the component without errors

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches


Stack Trace

Error: expect(received).toMatchSnapshot()

Snapshot name: `MonitorCharts component renders the component without errors 1`

- Snapshot
+ Received

@@ -47,10 +47,11 @@
        "staticContext": undefined,
      }
    }
  >
    <DurationChartComponent
+     anomalies={Array []}
      loading={false}
      locationDurationLines={
        Array [
          Object {
            "line": Array [
    at Object.it (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/legacy/plugins/uptime/public/components/functional/charts/__tests__/duration_charts.test.tsx:72:23)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/legacy/plugins/uptime/public/pages/__tests__.PageHeader shallow renders with breadcrumbs and the date picker

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches


Stack Trace

Error: expect(received).toMatchSnapshot(hint)

Snapshot name: `PageHeader shallow renders with breadcrumbs and the date picker: page_header_with_date_picker 1`

- Snapshot
+ Received

@@ -12,10 +12,39 @@
        </h1>
      </div>
      <div
        class="euiFlexItem euiFlexItem--flexGrowZero"
      >
+       <button
+         class="euiButtonEmpty euiButtonEmpty--primary"
+         disabled=""
+         type="button"
+       >
+         <span
+           class="euiButtonEmpty__content"
+         >
+           <svg
+             aria-hidden="true"
+             class="euiIcon euiIcon--medium euiIcon--app euiIcon-isLoading euiButtonEmpty__icon"
+             focusable="false"
+             height="16"
+             role="img"
+             viewBox="0 0 16 16"
+             width="16"
+             xmlns="http://www.w3.org/2000/svg"
+           />
+           <span
+             class="euiButtonEmpty__text"
+           >
+             Enable Anomaly Detection
+           </span>
+         </span>
+       </button>
+     </div>
+     <div
+       class="euiFlexItem euiFlexItem--flexGrowZero"
+     >
        <div
          class="euiFlexGroup euiFlexGroup--gutterSmall euiFlexGroup--directionRow euiSuperDatePicker__flexWrapper"
        >
          <div
            class="euiFlexItem"
    at Object.it (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/legacy/plugins/uptime/public/pages/__tests__/page_header.test.tsx:30:23)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)

and 2 more failures, only showing the first 3.

History

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

@shahzad31 shahzad31 closed this Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.