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

[saved objects] Update import/export route params & add usage collection. #110170

Closed

Conversation

lukeelmers
Copy link
Member

@lukeelmers lukeelmers commented Aug 26, 2021

Closes #54123

WIP

@lukeelmers lukeelmers self-assigned this Aug 26, 2021
@lukeelmers lukeelmers force-pushed the feat/snake-import-export branch 2 times, most recently from ec1307d to 939fb91 Compare August 26, 2021 20:38
@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 1, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / X-Pack Spaces API Integration Tests -- spaces_only.x-pack/test/spaces_api_integration/spaces_only/apis/copy_to_space·ts.spaces api without security copy to spaces from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api without security
[00:00:00]           └-> "before all" hook in "spaces api without security"
[00:00:00]           └-: copy to spaces
[00:00:00]             └-> "before all" hook in "copy to spaces"
[00:00:00]             └-: from the default space
[00:00:00]               └-> "before all" hook in "from the default space"
[00:00:00]               └-> "before all" hook in "from the default space"
[00:00:07]               └-: multi-namespace types with overwrite=false and createNewCopies=false
[00:00:07]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:07]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "mappings.json"
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "data.json"
[00:00:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/udf6UDkdR0urgro2AZG_Uw] deleting index
[00:00:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/utgs3q3rTw6vjVKLR8NL7A] deleting index
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_8.0.0_001"
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Created index ".kibana_8.0.0_001"
[00:00:07]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] ".kibana_8.0.0_001" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:07]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Indexed 34 docs into ".kibana"
[00:00:07]                   │ debg Migrating saved objects
[00:00:07]                   │ proc [kibana]   log   [22:50:06.856] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:06.859] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 16ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:06.862] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:00:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:07]                   │ proc [kibana]   log   [22:50:06.868] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:06.872] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 4ms.
[00:00:07]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:00:07]                   │ proc [kibana]   log   [22:50:06.906] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 50ms.
[00:00:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ckQecmBeQFuHyawTLg4Bkg] update_mapping [_doc]
[00:00:07]                   │ proc [kibana]   log   [22:50:06.950] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 78ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:06.964] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 58ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:06.965] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 112ms
[00:00:07]                   │ info [o.e.t.LoggingTaskListener] [node-01] 1692 finished with response BulkByScrollResponse[took=29ms,timed_out=false,sliceId=null,updated=34,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:07]                   │ proc [kibana]   log   [22:50:07.054] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 104ms.
[00:00:07]                   │ proc [kibana]   log   [22:50:07.055] [info][savedobjects-service] [.kibana] Migration completed after 212ms
[00:00:07]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Migrated Kibana index after loading Kibana data
[00:00:07]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Ensured that default space exists in .kibana
[00:00:07]                 └-> should return 200 when copying with no conflict
[00:00:07]                   └-> "before each" hook: global before each for "should return 200 when copying with no conflict"
[00:00:07]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ckQecmBeQFuHyawTLg4Bkg] update_mapping [_doc]
[00:00:08]                   └- ✖ fail: spaces api without security copy to spaces from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict
[00:00:08]                   │       Error: expected [ { type: 'sharedtype',
[00:00:08]                   │     id: 'default_only',
[00:00:08]                   │     meta: 
[00:00:08]                   │      { title: 'A shared saved-object in one space',
[00:00:08]                   │        icon: 'beaker' },
[00:00:08]                   │     destination_id: 'c57eaa01-18a5-46c6-88db-cec284d1211e',
[00:00:08]                   │     destinationId: 'c57eaa01-18a5-46c6-88db-cec284d1211e' } ] to sort of equal [ { type: 'sharedtype',
[00:00:08]                   │     id: 'default_only',
[00:00:08]                   │     meta: 
[00:00:08]                   │      { title: 'A shared saved-object in one space',
[00:00:08]                   │        icon: 'beaker' },
[00:00:08]                   │     destinationId: 'c57eaa01-18a5-46c6-88db-cec284d1211e' } ]
[00:00:08]                   │       + expected - actual
[00:00:08]                   │ 
[00:00:08]                   │        [
[00:00:08]                   │          {
[00:00:08]                   │            "destinationId": "c57eaa01-18a5-46c6-88db-cec284d1211e"
[00:00:08]                   │       -    "destination_id": "c57eaa01-18a5-46c6-88db-cec284d1211e"
[00:00:08]                   │            "id": "default_only"
[00:00:08]                   │            "meta": {
[00:00:08]                   │              "icon": "beaker"
[00:00:08]                   │              "title": "A shared saved-object in one space"
[00:00:08]                   │       
[00:00:08]                   │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:00:08]                   │       at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:00:08]                   │       at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
[00:00:08]                   │       at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
[00:00:08]                   │       at runMicrotasks (<anonymous>)
[00:00:08]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:08]                   │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:00:08]                   │ 
[00:00:08]                   │ 

Stack Trace

Error: expected [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destination_id: 'c57eaa01-18a5-46c6-88db-cec284d1211e',
    destinationId: 'c57eaa01-18a5-46c6-88db-cec284d1211e' } ] to sort of equal [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destinationId: 'c57eaa01-18a5-46c6-88db-cec284d1211e' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
    at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "destinationId": "c57eaa01-18a5-46c6-88db-cec284d1211e"\n' +
    '    "destination_id": "c57eaa01-18a5-46c6-88db-cec284d1211e"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "destinationId": "c57eaa01-18a5-46c6-88db-cec284d1211e"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

Kibana Pipeline / general / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces superuser from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook in "spaces api with security"
[00:00:00]           └-> "before all" hook in "spaces api with security"
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_legacy_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_dual_privileges_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_dashboard_only_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_2_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_2_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_2_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_2_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [not_a_kibana_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_apm_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_machine_learning_admin]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_machine_learning_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_monitoring_user]
[00:00:03]           └-: copy to spaces
[00:00:03]             └-> "before all" hook in "copy to spaces"
[00:00:09]             └-: superuser from the default space
[00:00:09]               └-> "before all" hook in "superuser from the default space"
[00:00:09]               └-> "before all" hook in "superuser from the default space"
[00:00:17]               └-: multi-namespace types with overwrite=false and createNewCopies=false
[00:00:17]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:17]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "mappings.json"
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "data.json"
[00:00:17]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/LunCQdxmSaOwaUGlDTv86g] deleting index
[00:00:17]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/rgtc8tSeSluVNSh9VhNicg] deleting index
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_8.0.0_001"
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:17]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:17]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Created index ".kibana_8.0.0_001"
[00:00:17]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] ".kibana_8.0.0_001" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:17]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Indexed 34 docs into ".kibana"
[00:00:17]                   │ debg Migrating saved objects
[00:00:17]                   │ proc [kibana]   log   [21:30:42.538] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 7ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.540] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 11ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.543] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:00:17]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:17]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:17]                   │ proc [kibana]   log   [21:30:42.548] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 5ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.551] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:00:17]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:00:17]                   │ proc [kibana]   log   [21:30:42.592] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 54ms.
[00:00:17]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ynMADjQ_SGyGHqKDFua1OA] update_mapping [_doc]
[00:00:17]                   │ proc [kibana]   log   [21:30:42.647] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 96ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.663] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 71ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.663] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 132ms
[00:00:17]                   │ info [o.e.t.LoggingTaskListener] [node-01] 4294 finished with response BulkByScrollResponse[took=46.8ms,timed_out=false,sliceId=null,updated=34,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:17]                   │ proc [kibana]   log   [21:30:42.754] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 107ms.
[00:00:17]                   │ proc [kibana]   log   [21:30:42.755] [info][savedobjects-service] [.kibana] Migration completed after 226ms
[00:00:17]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Migrated Kibana index after loading Kibana data
[00:00:17]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Ensured that default space exists in .kibana
[00:00:17]                 └-> should return 200 when copying with no conflict
[00:00:17]                   └-> "before each" hook: global before each for "should return 200 when copying with no conflict"
[00:00:17]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/ynMADjQ_SGyGHqKDFua1OA] update_mapping [_doc]
[00:00:18]                   └- ✖ fail: spaces api with security copy to spaces superuser from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict
[00:00:18]                   │       Error: expected [ { type: 'sharedtype',
[00:00:18]                   │     id: 'default_only',
[00:00:18]                   │     meta: 
[00:00:18]                   │      { title: 'A shared saved-object in one space',
[00:00:18]                   │        icon: 'beaker' },
[00:00:18]                   │     destination_id: '2ef45b1c-a7f2-45bf-8284-507598876ace',
[00:00:18]                   │     destinationId: '2ef45b1c-a7f2-45bf-8284-507598876ace' } ] to sort of equal [ { type: 'sharedtype',
[00:00:18]                   │     id: 'default_only',
[00:00:18]                   │     meta: 
[00:00:18]                   │      { title: 'A shared saved-object in one space',
[00:00:18]                   │        icon: 'beaker' },
[00:00:18]                   │     destinationId: '2ef45b1c-a7f2-45bf-8284-507598876ace' } ]
[00:00:18]                   │       + expected - actual
[00:00:18]                   │ 
[00:00:18]                   │        [
[00:00:18]                   │          {
[00:00:18]                   │            "destinationId": "2ef45b1c-a7f2-45bf-8284-507598876ace"
[00:00:18]                   │       -    "destination_id": "2ef45b1c-a7f2-45bf-8284-507598876ace"
[00:00:18]                   │            "id": "default_only"
[00:00:18]                   │            "meta": {
[00:00:18]                   │              "icon": "beaker"
[00:00:18]                   │              "title": "A shared saved-object in one space"
[00:00:18]                   │       
[00:00:18]                   │       at Assertion.assert (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:00:18]                   │       at Assertion.eql (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:00:18]                   │       at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
[00:00:18]                   │       at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
[00:00:18]                   │       at runMicrotasks (<anonymous>)
[00:00:18]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:18]                   │       at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:00:18]                   │ 
[00:00:18]                   │ 

Stack Trace

Error: expected [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destination_id: '2ef45b1c-a7f2-45bf-8284-507598876ace',
    destinationId: '2ef45b1c-a7f2-45bf-8284-507598876ace' } ] to sort of equal [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destinationId: '2ef45b1c-a7f2-45bf-8284-507598876ace' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
    at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "destinationId": "2ef45b1c-a7f2-45bf-8284-507598876ace"\n' +
    '    "destination_id": "2ef45b1c-a7f2-45bf-8284-507598876ace"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "destinationId": "2ef45b1c-a7f2-45bf-8284-507598876ace"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

Kibana Pipeline / general / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces superuser from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook in "spaces api with security"
[00:00:00]           └-> "before all" hook in "spaces api with security"
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_legacy_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_dual_privileges_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_dashboard_only_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_2_all_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_2_read_user]
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_2_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_2_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [not_a_kibana_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_apm_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_machine_learning_admin]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_machine_learning_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [a_monitoring_user]
[00:00:03]           └-: copy to spaces
[00:00:03]             └-> "before all" hook in "copy to spaces"
[00:00:10]             └-: superuser from the default space
[00:00:10]               └-> "before all" hook in "superuser from the default space"
[00:00:10]               └-> "before all" hook in "superuser from the default space"
[00:00:18]               └-: multi-namespace types with overwrite=false and createNewCopies=false
[00:00:18]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:18]                 └-> "before all" hook for "should return 200 when copying with no conflict"
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "mappings.json"
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Loading "data.json"
[00:00:18]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/DmyJMXdXRbS1ZCb8GmSokQ] deleting index
[00:00:18]                   │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/_kw_1fSsTZGvYr-393bpIg] deleting index
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_8.0.0_001"
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:18]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [api], templates [], shards [1]/[0]
[00:00:18]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Created index ".kibana_8.0.0_001"
[00:00:18]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] ".kibana_8.0.0_001" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:00:18]                   │ info [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Indexed 34 docs into ".kibana"
[00:00:18]                   │ debg Migrating saved objects
[00:00:18]                   │ proc [kibana]   log   [21:28:59.645] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.648] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 8ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.653] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 5ms.
[00:00:18]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:18]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:00:18]                   │ proc [kibana]   log   [21:28:59.660] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.664] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 4ms.
[00:00:18]                   │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_task_manager_8.0.0_001][0]]"
[00:00:18]                   │ proc [kibana]   log   [21:28:59.711] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 66ms.
[00:00:18]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/4VxgrKlVQbuOPih9VDoNzQ] update_mapping [_doc]
[00:00:18]                   │ proc [kibana]   log   [21:28:59.765] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 101ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.788] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 77ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.789] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 147ms
[00:00:18]                   │ info [o.e.t.LoggingTaskListener] [node-01] 4258 finished with response BulkByScrollResponse[took=35ms,timed_out=false,sliceId=null,updated=34,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:18]                   │ proc [kibana]   log   [21:28:59.871] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 106ms.
[00:00:18]                   │ proc [kibana]   log   [21:28:59.872] [info][savedobjects-service] [.kibana] Migration completed after 232ms
[00:00:18]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Migrated Kibana index after loading Kibana data
[00:00:18]                   │ debg [x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces] Ensured that default space exists in .kibana
[00:00:18]                 └-> should return 200 when copying with no conflict
[00:00:18]                   └-> "before each" hook: global before each for "should return 200 when copying with no conflict"
[00:00:18]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/4VxgrKlVQbuOPih9VDoNzQ] update_mapping [_doc]
[00:00:19]                   └- ✖ fail: spaces api with security copy to spaces superuser from the default space multi-namespace types with overwrite=false and createNewCopies=false should return 200 when copying with no conflict
[00:00:19]                   │       Error: expected [ { type: 'sharedtype',
[00:00:19]                   │     id: 'default_only',
[00:00:19]                   │     meta: 
[00:00:19]                   │      { title: 'A shared saved-object in one space',
[00:00:19]                   │        icon: 'beaker' },
[00:00:19]                   │     destination_id: 'bdb51593-242c-477c-87a1-7de989e9ba38',
[00:00:19]                   │     destinationId: 'bdb51593-242c-477c-87a1-7de989e9ba38' } ] to sort of equal [ { type: 'sharedtype',
[00:00:19]                   │     id: 'default_only',
[00:00:19]                   │     meta: 
[00:00:19]                   │      { title: 'A shared saved-object in one space',
[00:00:19]                   │        icon: 'beaker' },
[00:00:19]                   │     destinationId: 'bdb51593-242c-477c-87a1-7de989e9ba38' } ]
[00:00:19]                   │       + expected - actual
[00:00:19]                   │ 
[00:00:19]                   │        [
[00:00:19]                   │          {
[00:00:19]                   │            "destinationId": "bdb51593-242c-477c-87a1-7de989e9ba38"
[00:00:19]                   │       -    "destination_id": "bdb51593-242c-477c-87a1-7de989e9ba38"
[00:00:19]                   │            "id": "default_only"
[00:00:19]                   │            "meta": {
[00:00:19]                   │              "icon": "beaker"
[00:00:19]                   │              "title": "A shared saved-object in one space"
[00:00:19]                   │       
[00:00:19]                   │       at Assertion.assert (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:00:19]                   │       at Assertion.eql (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:00:19]                   │       at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
[00:00:19]                   │       at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
[00:00:19]                   │       at runMicrotasks (<anonymous>)
[00:00:19]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:19]                   │       at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:00:19]                   │ 
[00:00:19]                   │ 

Stack Trace

Error: expected [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destination_id: 'bdb51593-242c-477c-87a1-7de989e9ba38',
    destinationId: 'bdb51593-242c-477c-87a1-7de989e9ba38' } ] to sort of equal [ { type: 'sharedtype',
    id: 'default_only',
    meta: 
     { title: 'A shared saved-object in one space',
       icon: 'beaker' },
    destinationId: 'bdb51593-242c-477c-87a1-7de989e9ba38' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at expectNewCopyResponse (test/spaces_api_integration/common/suites/copy_to_space.ts:467:33)
    at response (test/spaces_api_integration/common/suites/copy_to_space.ts:481:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "destinationId": "bdb51593-242c-477c-87a1-7de989e9ba38"\n' +
    '    "destination_id": "bdb51593-242c-477c-87a1-7de989e9ba38"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "destinationId": "bdb51593-242c-477c-87a1-7de989e9ba38"\n' +
    '    "id": "default_only"\n' +
    '    "meta": {\n' +
    '      "icon": "beaker"\n' +
    '      "title": "A shared saved-object in one space"\n' +
    '    }\n' +
    '    "type": "sharedtype"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

and 1 more failures, only showing the first 3.

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
core 998 1019 +21
Unknown metric groups

API count

id before after diff
core 2247 2273 +26

References to deprecated APIs

id before after diff
savedObjectsManagement 31 73 +42
spaces 6 34 +28
total +70

History

  • 💔 Build #149623 failed 432c155a68f68d6603fd3d2ce5da1d0c88c33730
  • 💔 Build #149254 failed f8eda7a18c69f013013f006095c9171308761963
  • 💔 Build #149101 failed 939fb91cdd1fe93f1e4f8ced5b748bb2e56bd0f9
  • 💔 Build #149050 failed ec1307deafab94cb44a94b146899cd97c7875d5b

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

cc @lukeelmers

@lukeelmers
Copy link
Member Author

Abandoning this effort for now as explained in #54123 (comment)

@lukeelmers lukeelmers closed this Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use snake case for saved objects import/export API
2 participants