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 ES Promotion: apis Machine Learning jobs jobs_summary gets job summary with job ID supplied as ML Poweruser #121686

Closed
mistic opened this issue Dec 20, 2021 · 2 comments · Fixed by #121777
Assignees
Labels
failed-es-promotion :ml Team:ML Team label for ML (also use :ml)

Comments

@mistic
Copy link
Member

mistic commented Dec 20, 2021

X-Pack API Integration Tests
x-pack/test/api_integration/apis/ml/jobs/jobs_summary.ts

Default CI Group #18 / apis Machine Learning jobs jobs_summary gets job summary with job ID supplied as ML Poweruser

This failure is preventing the promotion of the current Elasticsearch nightly snapshot for 8.1 (main).

For more information on the Elasticsearch snapshot promotion process including how to reproduce using the unverified nightly ES build: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

Failed promotion job
Test Failure

Error: expected { bucket_span: '15m',
  detectors: 
   [ { detector_description: 'mean(responsetime)',
       function: 'mean',
       field_name: 'responsetime',
       detector_index: 0 } ],
  influencers: [],
  model_prune_window: '30d' } to sort of equal { bucket_span: '15m',
  detectors: 
   [ { detector_description: 'mean(responsetime)',
       function: 'mean',
       field_name: 'responsetime',
       detector_index: 0 } ],
  influencers: [] }
    at Assertion.assert (/opt/local-ssd/buildkite/builds/kb-n2-4-d22526c21597d9a3/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/opt/local-ssd/buildkite/builds/kb-n2-4-d22526c21597d9a3/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/ml/jobs/jobs_summary.ts:306:60)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (/opt/local-ssd/buildkite/builds/kb-n2-4-d22526c21597d9a3/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '{\n' +
    '  "bucket_span": "15m"\n' +
    '  "detectors": [\n' +
    '    {\n' +
    '      "detector_description": "mean(responsetime)"\n' +
    '      "detector_index": 0\n' +
    '      "field_name": "responsetime"\n' +
    '      "function": "mean"\n' +
    '    }\n' +
    '  ]\n' +
    '  "influencers": []\n' +
    '  "model_prune_window": "30d"\n' +
    '}',
  expected: '{\n' +
    '  "bucket_span": "15m"\n' +
    '  "detectors": [\n' +
    '    {\n' +
    '      "detector_description": "mean(responsetime)"\n' +
    '      "detector_index": 0\n' +
    '      "field_name": "responsetime"\n' +
    '      "function": "mean"\n' +
    '    }\n' +
    '  ]\n' +
    '  "influencers": []\n' +
    '}',
  showDiff: true
}
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@mistic
Copy link
Member Author

mistic commented Dec 20, 2021

This test was failing the es promotion and was skipped.

main/8.1: 18d7793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-es-promotion :ml Team:ML Team label for ML (also use :ml)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants