Skip to content

[7.x] [FTR] Use importExport for saved_object/basic archive (#100244)#101797

Closed
tylersmalley wants to merge 1 commit intoelastic:7.xfrom
tylersmalley:backport/7.x/pr-100244
Closed

[7.x] [FTR] Use importExport for saved_object/basic archive (#100244)#101797
tylersmalley wants to merge 1 commit intoelastic:7.xfrom
tylersmalley:backport/7.x/pr-100244

Conversation

@tylersmalley
Copy link
Member

Backports the following commits to 7.x:

@tylersmalley tylersmalley added the backport This PR is a backport of another PR label Jun 9, 2021
@tylersmalley tylersmalley force-pushed the backport/7.x/pr-100244 branch from 114d31d to 3a45ebc Compare June 9, 2021 16:53
@tylersmalley tylersmalley enabled auto-merge (squash) June 9, 2021 16:53
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@tylersmalley tylersmalley force-pushed the backport/7.x/pr-100244 branch from 3a45ebc to bcf3698 Compare June 9, 2021 18:19
@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 9, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / API Integration Tests.test/api_integration/apis/saved_objects_management/get·ts.apis saved objects management apis get "before all" hook for "should return 200 for object that exists and inject metadata"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:02:27]           └-: saved objects management apis
[00:02:27]             └-> "before all" hook in "saved objects management apis"
[00:02:32]             └-: get
[00:02:32]               └-> "before all" hook for "should return 200 for object that exists and inject metadata"
[00:02:32]               └-> "before all" hook for "should return 200 for object that exists and inject metadata"
[00:02:32]                 │ debg resolved import for saved_objects/basic to /dev/shm/workspace/parallel/9/kibana/test/api_integration/fixtures/kbn_archiver/saved_objects/basic.json
[00:02:32]                 │ info importing 4 saved objects { space: undefined }
[00:02:32]                 └- ✖ fail: apis saved objects management apis get "before all" hook for "should return 200 for object that exists and inject metadata"
[00:02:32]                 │      Error: failed to import all saved objects: {
[00:02:32]                 │   errors: [
[00:02:32]                 │     {
[00:02:32]                 │       error: {
[00:02:32]                 │         error: 'Internal Server Error',
[00:02:32]                 │         message: 'An internal server error occurred',
[00:02:32]                 │         statusCode: 500,
[00:02:32]                 │         type: 'unknown'
[00:02:32]                 │       },
[00:02:32]                 │       id: '7.0.0-alpha1',
[00:02:32]                 │       meta: {},
[00:02:32]                 │       type: 'config'
[00:02:32]                 │     },
[00:02:32]                 │     {
[00:02:32]                 │       error: {
[00:02:32]                 │         error: 'Internal Server Error',
[00:02:32]                 │         message: 'An internal server error occurred',
[00:02:32]                 │         statusCode: 500,
[00:02:32]                 │         type: 'unknown'
[00:02:32]                 │       },
[00:02:32]                 │       id: '91200a00-9efd-11e7-acb3-3dab96693fab',
[00:02:32]                 │       meta: {
[00:02:32]                 │         icon: 'indexPatternApp',
[00:02:32]                 │         title: 'logstash-*'
[00:02:32]                 │       },
[00:02:32]                 │       title: 'logstash-*',
[00:02:32]                 │       type: 'index-pattern'
[00:02:32]                 │     },
[00:02:32]                 │     {
[00:02:32]                 │       error: {
[00:02:32]                 │         error: 'Internal Server Error',
[00:02:32]                 │         message: 'An internal server error occurred',
[00:02:32]                 │         statusCode: 500,
[00:02:32]                 │         type: 'unknown'
[00:02:32]                 │       },
[00:02:32]                 │       id: 'dd7caf20-9efd-11e7-acb3-3dab96693fab',
[00:02:32]                 │       meta: {
[00:02:32]                 │         icon: 'visualizeApp',
[00:02:32]                 │         title: 'Count of requests'
[00:02:32]                 │       },
[00:02:32]                 │       title: 'Count of requests',
[00:02:32]                 │       type: 'visualization'
[00:02:32]                 │     },
[00:02:32]                 │     {
[00:02:32]                 │       error: {
[00:02:32]                 │         error: 'Internal Server Error',
[00:02:32]                 │         message: 'An internal server error occurred',
[00:02:32]                 │         statusCode: 500,
[00:02:32]                 │         type: 'unknown'
[00:02:32]                 │       },
[00:02:32]                 │       id: 'be3733a0-9efe-11e7-acb3-3dab96693fab',
[00:02:32]                 │       meta: {
[00:02:32]                 │         icon: 'dashboardApp',
[00:02:32]                 │         title: 'Requests'
[00:02:32]                 │       },
[00:02:32]                 │       title: 'Requests',
[00:02:32]                 │       type: 'dashboard'
[00:02:32]                 │     }
[00:02:32]                 │   ],
[00:02:32]                 │   success: false,
[00:02:32]                 │   successCount: 0,
[00:02:32]                 │   warnings: []
[00:02:32]                 │ }
[00:02:32]                 │       at createFailError (node_modules/packages/kbn-dev-utils/src/run/fail.ts:27:24)
[00:02:32]                 │       at KbnClientImportExport.load (node_modules/@kbn/test/src/kbn_client/kbn_client_import_export.ts:83:13)
[00:02:32]                 │       at runMicrotasks (<anonymous>)
[00:02:32]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:32]                 │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:02:32]                 │ 
[00:02:32]                 │ 

Stack Trace

Error: failed to import all saved objects: {
  errors: [
    {
      error: {
        error: 'Internal Server Error',
        message: 'An internal server error occurred',
        statusCode: 500,
        type: 'unknown'
      },
      id: '7.0.0-alpha1',
      meta: {},
      type: 'config'
    },
    {
      error: {
        error: 'Internal Server Error',
        message: 'An internal server error occurred',
        statusCode: 500,
        type: 'unknown'
      },
      id: '91200a00-9efd-11e7-acb3-3dab96693fab',
      meta: {
        icon: 'indexPatternApp',
        title: 'logstash-*'
      },
      title: 'logstash-*',
      type: 'index-pattern'
    },
    {
      error: {
        error: 'Internal Server Error',
        message: 'An internal server error occurred',
        statusCode: 500,
        type: 'unknown'
      },
      id: 'dd7caf20-9efd-11e7-acb3-3dab96693fab',
      meta: {
        icon: 'visualizeApp',
        title: 'Count of requests'
      },
      title: 'Count of requests',
      type: 'visualization'
    },
    {
      error: {
        error: 'Internal Server Error',
        message: 'An internal server error occurred',
        statusCode: 500,
        type: 'unknown'
      },
      id: 'be3733a0-9efe-11e7-acb3-3dab96693fab',
      meta: {
        icon: 'dashboardApp',
        title: 'Requests'
      },
      title: 'Requests',
      type: 'dashboard'
    }
  ],
  success: false,
  successCount: 0,
  warnings: []
}
    at createFailError (node_modules/packages/kbn-dev-utils/src/run/fail.ts:27:24)
    at KbnClientImportExport.load (node_modules/@kbn/test/src/kbn_client/kbn_client_import_export.ts:83:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  exitCode: 1,
  showHelp: false,
  [Symbol(fail error)]: true
}

Metrics [docs]

✅ unchanged

History

  • 💔 Build #130228 failed 3a45ebc924124403371d58ad115b693bf2ef3d06

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

auto-merge was automatically disabled June 9, 2021 19:46

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants