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

[7.12] [Canvas] Fix reports embeddables (#93482) #93679

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.12:

* wip

* WIP

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/kibana_overview·ts.Kibana overview "before all" hook for "Kibana overview"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:56]         └-: Kibana overview
[00:00:56]           └-> "before all" hook for "Kibana overview"
[00:00:56]           └-> "before all" hook for "Kibana overview"
[00:00:56]             │ info [empty_kibana] Loading "mappings.json"
[00:00:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_pre6.5.0_001/RKQj_xtZR6GzdOBVFMtYYA] deleting index
[00:00:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_task_manager_7.12.0_001/wz_uiPLVQFqVUrJuum5qcQ] deleting index
[00:00:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_001/ZpPqBMUeTw2U8V5pd-4XtA] deleting index
[00:00:56]             │ info [empty_kibana] Deleted existing index ".kibana_task_manager_7.12.0_001"
[00:00:56]             │ info [empty_kibana] Deleted existing index ".kibana_pre6.5.0_001"
[00:00:56]             │ info [empty_kibana] Deleted existing index ".kibana_7.12.0_001"
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:56]             │ info [empty_kibana] Created index ".kibana"
[00:00:56]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana/rQ8dn3FKT8qjxV8xOpBaqQ] update_mapping [_doc]
[00:00:56]             │ debg Migrating saved objects
[00:00:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0/ECJGoPC3T0i5_GMSqlTUGw] create_mapping [_doc]
[00:00:56]             │ proc [kibana]   log   [20:10:49.324] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:00:56]             │ proc [kibana]   log   [20:10:49.330] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:56]             │ proc [kibana]   log   [20:10:49.336] [error][fleet][plugins] Concurrent installation or upgrade of endpoint-0.18.0 detected, aborting. Original error: [epm-packages:endpoint]: version conflict, required seqNo [32], primary term [2]. but no document was found: version_conflict_engine_exception
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_task_manager_7.12.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.12.0_001]
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] adding block write to indices [[.kibana/rQ8dn3FKT8qjxV8xOpBaqQ]]
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] completed adding block write to indices [.kibana]
[00:00:56]             │ proc [kibana]   log   [20:10:49.417] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY
[00:00:56]             │ proc [kibana]   log   [20:10:49.436] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:56]             │ proc [kibana]   log   [20:10:49.456] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE
[00:00:56]             │ proc [kibana]   log   [20:10:49.457] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 137ms
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:56]             │ proc [kibana]   log   [20:10:49.526] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:56]             │ proc [kibana]   log   [20:10:49.533] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:56]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] 2700 finished with response BulkByScrollResponse[took=2.2ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:56]             │ proc [kibana]   log   [20:10:49.539] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana/rQ8dn3FKT8qjxV8xOpBaqQ] deleting index
[00:00:56]             │ proc [kibana]   log   [20:10:49.580] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] adding block write to indices [[.kibana_pre6.5.0_001/AHw5thb-Q96NT-lGqk6MbQ]]
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:56]             │ proc [kibana]   log   [20:10:49.622] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] updating number_of_replicas to [0] for indices [.kibana_7.12.0_reindex_temp]
[00:00:56]             │ proc [kibana]   log   [20:10:49.682] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:56]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] 2729 finished with response BulkByScrollResponse[took=2.7ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:56]             │ proc [kibana]   log   [20:10:49.693] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:56]             │ proc [kibana]   log   [20:10:49.700] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] adding block write to indices [[.kibana_7.12.0_reindex_temp/Myxa8FUoTX69gZfEH93H8w]]
[00:00:56]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] completed adding block write to indices [.kibana_7.12.0_reindex_temp]
[00:00:56]             │ proc [kibana]   log   [20:10:49.744] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] applying create index request using existing index [.kibana_7.12.0_reindex_temp] metadata
[00:00:56]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:56]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] updating number_of_replicas to [0] for indices [.kibana_7.12.0_001]
[00:00:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_001/gonfeE-BQcyrVO14W2OqJQ] create_mapping [_doc]
[00:00:56]             │ proc [kibana]   log   [20:10:49.844] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:56]             │ proc [kibana]   log   [20:10:49.855] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:56]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_001/gonfeE-BQcyrVO14W2OqJQ] update_mapping [_doc]
[00:00:56]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] 2766 finished with response BulkByScrollResponse[took=2.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:56]             │ proc [kibana]   log   [20:10:49.917] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:56]             │ proc [kibana]   log   [20:10:49.927] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:56]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1614886456176958488] [.kibana_7.12.0_reindex_temp/Myxa8FUoTX69gZfEH93H8w] deleting index
[00:00:56]             │ proc [kibana]   log   [20:10:49.939] [error][savedobjects-service] [.kibana] [invalid_alias_name_exception]: Invalid alias name [.kibana_7.12.0], an index exists with the same name as the alias
[00:00:56]             │ proc [kibana]   log   [20:10:49.940] [error][savedobjects-service] [.kibana] migration failed, dumping execution log:
[00:00:56]             │ proc [kibana]   log   [20:10:49.940] [info][savedobjects-service] [.kibana] INIT RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.941] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:56]             │ proc [kibana]   log   [20:10:49.945] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.945] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:56]             │ proc [kibana]   log   [20:10:49.947] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.947] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:56]             │ proc [kibana]   log   [20:10:49.949] [info][savedobjects-service] [.kibana] LEGACY_REINDEX RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.950] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:56]             │ proc [kibana]   log   [20:10:49.952] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.953] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:56]             │ proc [kibana]   log   [20:10:49.955] [info][savedobjects-service] [.kibana] LEGACY_DELETE RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.955] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:56]             │ proc [kibana]   log   [20:10:49.957] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.957] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:56]             │ proc [kibana]   log   [20:10:49.959] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.960] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:56]             │ proc [kibana]   log   [20:10:49.962] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.962] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:56]             │ proc [kibana]   log   [20:10:49.964] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.964] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:56]             │ proc [kibana]   log   [20:10:49.966] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.967] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:56]             │ proc [kibana]   log   [20:10:49.969] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.969] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:56]             │ proc [kibana]   log   [20:10:49.971] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.971] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:56]             │ proc [kibana]   log   [20:10:49.973] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.974] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:56]             │ proc [kibana]   log   [20:10:49.976] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK RESPONSE
[00:00:56]             │ proc [kibana]   log   [20:10:49.976] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:56]             │ proc [kibana]   log   [20:10:49.978] [error][http] Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Error: [invalid_alias_name_exception]: Invalid alias name [.kibana_7.12.0], an index exists with the same name as the alias
[00:00:56]             │ proc [kibana]     at migrationStateActionMachine (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/saved_objects/migrationsv2/migrations_state_action_machine.js:139:13)
[00:00:56]             │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:56]             │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:56]             │ proc [kibana]     at async Promise.all (index 0)
[00:00:56]             │ proc [kibana]     at /dev/shm/workspace/kibana-build-xpack-19/src/core/server/saved_objects/routes/migrate.js:26:5
[00:00:56]             │ proc [kibana]     at /dev/shm/workspace/kibana-build-xpack-19/src/core/server/saved_objects/routes/utils.js:63:14
[00:00:56]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/http/router/router.js:163:30)
[00:00:56]             │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/http/router/router.js:124:50)
[00:00:56]             │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:56]             │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:56]             │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:56]             │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:56]             │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:56]             │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/Kibana overview _before all_ hook for _Kibana overview_.png"
[00:00:56]             │ proc [kibana]  error  [20:10:49.301]  Error: Internal Server Error
[00:00:56]             │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/http/router/response_adapter.js:58:19)
[00:00:56]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/http/router/router.js:177:34)
[00:00:56]             │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:56]             │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:56]             │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-19/src/core/server/http/router/router.js:124:50)
[00:00:56]             │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:56]             │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:56]             │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:56]             │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:56]             │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-19/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:57]             │ info Current URL is: http://localhost:61191/app/home#/tutorial/activemqLogs
[00:00:57]             │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/Kibana overview _before all_ hook for _Kibana overview_.html
[00:00:57]             └- ✖ fail: Kibana overview "before all" hook for "Kibana overview"
[00:00:57]             │      Error: Request failed with status code 500
[00:00:57]             │       at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:00:57]             │       at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:00:57]             │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:00:57]             │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:57]             │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:57]             │ 
[00:00:57]             │ 

Stack Trace

Error: Request failed with status code 500
    at createError (/dev/shm/workspace/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  config: {
    url: 'http://elastic:changeme@localhost:61191/internal/saved_objects/_migrate',
    method: 'post',
    data: '{}',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json;charset=utf-8',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1',
      'Content-Length': 2
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    paramsSerializer: [Function: paramsSerializer],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    httpsAgent: null,
    validateStatus: [Function: validateStatus]
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      socket: [Function (anonymous)],
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: true,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: null,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 195859,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 470,
      [Symbol(kBytesWritten)]: 297,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Content-Type: application/json;charset=utf-8\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Content-Length: 2\r\n' +
      'Host: localhost:61191\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'fifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'POST',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/internal/saved_objects/_migrate',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 500,
      statusMessage: 'Internal Server Error',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:61191/internal/saved_objects/_migrate',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 2,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:61191/internal/saved_objects/_migrate',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'content-type': [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      'content-length': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 500,
    statusText: 'Internal Server Error',
    headers: {
      'kbn-name': 'kibana-ci-immutable-centos-tests-xxl-1614886456176958488',
      'kbn-license-sig': 'a37cf3512bfd41501333e881051601a3a6eea7f42e4ad716b39330c110bd8fb4',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '97',
      date: 'Thu, 04 Mar 2021 20:10:50 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:61191/internal/saved_objects/_migrate',
      method: 'post',
      data: '{}',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      paramsSerializer: [Function: paramsSerializer],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      httpsAgent: null,
      validateStatus: [Function: validateStatus]
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'POST /internal/saved_objects/_migrate HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json;charset=utf-8\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Content-Length: 2\r\n' +
        'Host: localhost:61191\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/internal/saved_objects/_migrate',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 500,
      error: 'Internal Server Error',
      message: 'An internal server error occurred.'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
canvas 591.3KB 591.6KB +222.0B

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

cc @crob611

@kibanamachine kibanamachine merged commit 7088fa9 into elastic:7.12 Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants