Skip to content

[7.x] [ML] Stabilize Anomaly Explorer embeddable functional tests (#96421)#96599

Merged
kibanamachine merged 2 commits intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-96421
Apr 12, 2021
Merged

[7.x] [ML] Stabilize Anomaly Explorer embeddable functional tests (#96421)#96599
kibanamachine merged 2 commits intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-96421

Conversation

@kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

…96421)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 8, 2021
@kibanamachine kibanamachine enabled auto-merge (squash) April 8, 2021 16:12
@qn895
Copy link
Member

qn895 commented Apr 12, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_scripted_fields_filter·js.management filter scripted fields "before all" hook for "should filter scripted fields"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 2 times on tracked branches: https://github.com/elastic/kibana/issues/51044

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook in "management"
[00:00:00]           └-> "before all" hook in "management"
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]]).
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]]).
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:02]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:02]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:03]           └-: 
[00:00:03]             └-> "before all" hook in ""
[00:00:40]             └-: filter scripted fields
[00:00:40]               └-> "before all" hook for "should filter scripted fields"
[00:00:40]               └-> "before all" hook for "should filter scripted fields"
[00:00:40]                 │ info [management] Loading "mappings.json"
[00:00:40]                 │ info [management] Loading "data.json.gz"
[00:00:40]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001/z1AwipEvRcaxei73j48Ymg] deleting index
[00:00:40]                 │ debg browser[INFO] http://localhost:6171/40190/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:00:40]                 │      Error: Could not locate that index-pattern (id: 05782a50-9bb1-11eb-b02a-f9cd01164ccd), [click here to re-create it](management/kibana/indexPatterns)"
[00:00:40]                 │ERROR browser[SEVERE] http://localhost:6171/40190/bundles/plugin/data/kibana/data.plugin.js 0:529829 Uncaught SavedObjectNotFound: Could not locate that index-pattern (id: 05782a50-…to re-create it](management/kibana/indexPatterns)
[00:00:40]                 │ info [management] Deleted existing index ".kibana_7.13.0_001"
[00:00:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:40]                 │ info [management] Created index ".kibana"
[00:00:40]                 │ debg [management] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:40]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0/ydj4p743QTuyDtSCTFm0wQ] create_mapping [_doc]
[00:00:40]                 │ info [management] Indexed 2 docs into ".kibana"
[00:00:40]                 │ debg Migrating saved objects
[00:00:41]                 │ proc [kibana]   log   [17:03:47.541] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] adding block write to indices [[.kibana/C4pjLenrS_2f7iIU7H6h_Q]]
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] completed adding block write to indices [.kibana]
[00:00:41]                 │ proc [kibana]   log   [17:03:47.610] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:41]                 │ proc [kibana]   log   [17:03:47.690] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:41]                 │ proc [kibana]   log   [17:03:47.726] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] updating number_of_replicas to [0] for indices [.tasks]
[00:00:41]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] 578 finished with response BulkByScrollResponse[took=58.6ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:41]                 │ proc [kibana]   log   [17:03:47.950] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:41]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana/C4pjLenrS_2f7iIU7H6h_Q] deleting index
[00:00:41]                 │ proc [kibana]   log   [17:03:48.000] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] adding block write to indices [[.kibana_pre6.5.0_001/yWMvqOycTqWsbvmjfshRnA]]
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:41]                 │ proc [kibana]   log   [17:03:48.052] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] updating number_of_replicas to [0] for indices [.kibana_7.13.0_reindex_temp]
[00:00:41]                 │ proc [kibana]   log   [17:03:48.126] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:41]                 │ proc [kibana]   log   [17:03:48.135] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:41]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] 623 finished with response BulkByScrollResponse[took=20.3ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:41]                 │ proc [kibana]   log   [17:03:48.244] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] adding block write to indices [[.kibana_7.13.0_reindex_temp/Bk4yYScSTX65dJoHC1c7ew]]
[00:00:41]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] completed adding block write to indices [.kibana_7.13.0_reindex_temp]
[00:00:41]                 │ proc [kibana]   log   [17:03:48.304] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] applying create index request using existing index [.kibana_7.13.0_reindex_temp] metadata
[00:00:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:41]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] updating number_of_replicas to [0] for indices [.kibana_7.13.0_001]
[00:00:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001/CuFherQ0S42_6g9aLmj9ug] create_mapping [_doc]
[00:00:41]                 │ proc [kibana]   log   [17:03:48.483] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:41]                 │ proc [kibana]   log   [17:03:48.506] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:00:41]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001/CuFherQ0S42_6g9aLmj9ug] update_mapping [_doc]
[00:00:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001/CuFherQ0S42_6g9aLmj9ug] update_mapping [_doc]
[00:00:42]                 │ proc [kibana]   log   [17:03:49.367] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:00:42]                 │ proc [kibana]   log   [17:03:49.378] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:42]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_001/CuFherQ0S42_6g9aLmj9ug] update_mapping [_doc]
[00:00:42]                 │ proc [kibana]   log   [17:03:49.438] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:42]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] 685 finished with response BulkByScrollResponse[took=34ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:43]                 │ proc [kibana]   log   [17:03:49.547] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:43]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618245168685573353] [.kibana_7.13.0_reindex_temp/Bk4yYScSTX65dJoHC1c7ew] deleting index
[00:00:43]                 │ proc [kibana]   log   [17:03:49.559] [error][savedobjects-service] [.kibana] [invalid_alias_name_exception]: Invalid alias name [.kibana_7.13.0], an index exists with the same name as the alias
[00:00:43]                 │ proc [kibana]   log   [17:03:49.560] [error][savedobjects-service] [.kibana] migration failed, dumping execution log:
[00:00:43]                 │ proc [kibana]   log   [17:03:49.560] [info][savedobjects-service] [.kibana] INIT RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.562] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.563] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.564] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:43]                 │ proc [kibana]   log   [17:03:49.565] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.566] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:43]                 │ proc [kibana]   log   [17:03:49.567] [info][savedobjects-service] [.kibana] LEGACY_REINDEX RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.567] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.569] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.569] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.571] [info][savedobjects-service] [.kibana] LEGACY_DELETE RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.571] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.573] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.574] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:43]                 │ proc [kibana]   log   [17:03:49.575] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.576] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:43]                 │ proc [kibana]   log   [17:03:49.577] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.577] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.578] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.579] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.580] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.580] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:43]                 │ proc [kibana]   log   [17:03:49.581] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.581] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:43]                 │ proc [kibana]   log   [17:03:49.582] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.582] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:00:43]                 │ proc [kibana]   log   [17:03:49.583] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.583] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:00:43]                 │ proc [kibana]   log   [17:03:49.584] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.584] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:43]                 │ proc [kibana]   log   [17:03:49.585] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.585] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:43]                 │ proc [kibana]   log   [17:03:49.586] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK RESPONSE
[00:00:43]                 │ proc [kibana]   log   [17:03:49.586] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:43]                 │ proc [kibana]   log   [17:03:49.587] [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.13.0], an index exists with the same name as the alias
[00:00:43]                 │ proc [kibana]     at migrationStateActionMachine (/dev/shm/workspace/kibana-build-oss-7/src/core/server/saved_objects/migrationsv2/migrations_state_action_machine.js:139:13)
[00:00:43]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:43]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:43]                 │ proc [kibana]     at async Promise.all (index 0)
[00:00:43]                 │ proc [kibana]     at /dev/shm/workspace/kibana-build-oss-7/src/core/server/saved_objects/routes/migrate.js:26:5
[00:00:43]                 │ proc [kibana]     at /dev/shm/workspace/kibana-build-oss-7/src/core/server/saved_objects/routes/utils.js:63:14
[00:00:43]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-oss-7/src/core/server/http/router/router.js:163:30)
[00:00:43]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-oss-7/src/core/server/http/router/router.js:124:50)
[00:00:43]                 │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:43]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:43]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:43]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:43]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:43]                 │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/test/functional/screenshots/failure/management  filter scripted fields _before all_ hook for _should filter scripted fields_.png"
[00:00:43]                 │ proc [kibana]  error  [17:03:47.529]  Error: Internal Server Error
[00:00:43]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-oss-7/src/core/server/http/router/response_adapter.js:61:19)
[00:00:43]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-oss-7/src/core/server/http/router/router.js:177:34)
[00:00:43]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:43]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:43]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-oss-7/src/core/server/http/router/router.js:124:50)
[00:00:43]                 │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:43]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:43]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:43]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:43]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-oss-7/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:43]                 │ info Current URL is: http://localhost:6171/app/management/kibana/indexPatterns
[00:00:43]                 │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/test/functional/failure_debug/html/management  filter scripted fields _before all_ hook for _should filter scripted fields_.html
[00:00:43]                 └- ✖ fail: management  filter scripted fields "before all" hook for "should filter scripted fields"
[00:00:43]                 │      Error: Request failed with status code 500
[00:00:43]                 │       at createError (node_modules/axios/lib/core/createError.js:16:15)
[00:00:43]                 │       at settle (node_modules/axios/lib/core/settle.js:17:12)
[00:00:43]                 │       at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:260:11)
[00:00:43]                 │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:43]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:43]                 │ 
[00:00:43]                 │ 

Stack Trace

Error: Request failed with status code 500
    at createError (node_modules/axios/lib/core/createError.js:16:15)
    at settle (node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (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:6171/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)]: 240741,
      [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)]: 390,
      [Symbol(kBytesWritten)]: 296,
      [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:6171\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:6171/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:6171/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-ubuntu-16-tests-xxl-1618245168685573353',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '97',
      date: 'Mon, 12 Apr 2021 17:03:49 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:6171/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:6171\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]

✅ unchanged

History

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

cc @qn895

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