elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.59k stars 8.21k forks source link

Failing test: X-Pack API Integration Tests - ml.x-pack/test/api_integration/apis/ml/trained_models/put_model·ts - Machine Learning trained models PUT trained_models puts trained model by id #189637

Closed kibanamachine closed 2 months ago

kibanamachine commented 3 months ago

A test failed on a tracked branch

Error: expected { model_id: 'dfa_regression_model_n_0',
  created_by: 'api_user',
  version: '12.0.0',
  model_size_bytes: 304,
  estimated_operations: 1,
  license_level: 'platinum',
  tags: [],
  input: { field_names: [ 'common_field' ] },
  inference_config: 
   { regression: 
      { results_field: 'predicted_value',
        num_top_feature_importance_values: 0 } } } to sort of equal { model_id: 'dfa_regression_model_n_0',
  model_type: 'tree_ensemble',
  created_by: 'api_user',
  version: '12.0.0',
  model_size_bytes: 304,
  estimated_operations: 1,
  license_level: 'platinum',
  tags: [],
  input: { field_names: [ 'common_field' ] },
  inference_config: 
   { regression: 
      { results_field: 'predicted_value',
        num_top_feature_importance_values: 0 } } }
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (put_model.ts:40:55)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16) {
  actual: '{\n' +
    '  "created_by": "api_user"\n' +
    '  "estimated_operations": 1\n' +
    '  "inference_config": {\n' +
    '    "regression": {\n' +
    '      "num_top_feature_importance_values": 0\n' +
    '      "results_field": "predicted_value"\n' +
    '    }\n' +
    '  }\n' +
    '  "input": {\n' +
    '    "field_names": [\n' +
    '      "common_field"\n' +
    '    ]\n' +
    '  }\n' +
    '  "license_level": "platinum"\n' +
    '  "model_id": "dfa_regression_model_n_0"\n' +
    '  "model_size_bytes": 304\n' +
    '  "tags": []\n' +
    '  "version": "12.0.0"\n' +
    '}',
  expected: '{\n' +
    '  "created_by": "api_user"\n' +
    '  "estimated_operations": 1\n' +
    '  "inference_config": {\n' +
    '    "regression": {\n' +
    '      "num_top_feature_importance_values": 0\n' +
    '      "results_field": "predicted_value"\n' +
    '    }\n' +
    '  }\n' +
    '  "input": {\n' +
    '    "field_names": [\n' +
    '      "common_field"\n' +
    '    ]\n' +
    '  }\n' +
    '  "license_level": "platinum"\n' +
    '  "model_id": "dfa_regression_model_n_0"\n' +
    '  "model_size_bytes": 304\n' +
    '  "model_type": "tree_ensemble"\n' +
    '  "tags": []\n' +
    '  "version": "12.0.0"\n' +
    '}',
  showDiff: true
}

First failure: kibana-elasticsearch-snapshot-verify - 8.15

elasticmachine commented 3 months ago

Pinging @elastic/ml-ui (:ml)

kibanamachine commented 3 months ago

New failure: kibana-elasticsearch-snapshot-verify - main

kibanamachine commented 3 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.15

kibanamachine commented 3 months ago

New failure: kibana-elasticsearch-snapshot-verify - main

mistic commented 3 months ago

Skipped.

main: cdf5f5c 8.15: da9fc6f