Skip to content

[Telemetry Tools] Merge array of constraints#79654

Merged
afharo merged 1 commit intoelastic:masterfrom
afharo:usage_collection/schema/merge_array_of_constraints
Oct 6, 2020
Merged

[Telemetry Tools] Merge array of constraints#79654
afharo merged 1 commit intoelastic:masterfrom
afharo:usage_collection/schema/merge_array_of_constraints

Conversation

@afharo
Copy link
Copy Markdown
Member

@afharo afharo commented Oct 6, 2020

Summary

When defining Record<AllProps, SOMETHING>, and type AllProps = OneList | AnotherList, the getConstraints method was returning an array of arrays instead of 1 flattened array of strings.

This PR fixes that behaviour.

Related to #79587

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@afharo afharo requested a review from a team as a code owner October 6, 2020 13:09
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry)

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack EPM API Integration Tests.x-pack/test/ingest_manager_api_integration/apis/fleet/agents/upgrade·ts.Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should not upgrade an unenrolled agent during bulk_upgrade

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Ingest Manager Endpoints
[00:00:00]           └-> "before all" hook
[00:00:08]           └-: Fleet Endpoints
[00:00:08]             └-> "before all" hook
[00:02:36]             └-: fleet upgrade agent
[00:02:36]               └-> "before all" hook
[00:02:36]               └-> "before all" hook
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48520, url.original: /search?package=system&internal=true&experimental=true
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48522, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48532, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48530, url.original: /search?package=system&internal=true&experimental=true
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48540, url.original: /package/endpoint/0.13.1
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48538, url.original: /package/system/0.5.3
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48546, url.original: /package/endpoint/0.13.1/
[00:02:36]                 │ info [docker:registry] 2020/10/06 14:36:19 source.ip: 172.17.0.1:48548, url.original: /package/system/0.5.3/
[00:02:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48574, url.original: /search
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48572, url.original: /search
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48584, url.original: /package/endpoint/0.13.1
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48588, url.original: /package/system/0.5.3
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48586, url.original: /package/system/0.5.3
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48590, url.original: /package/endpoint/0.13.1
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48600, url.original: /package/system/0.5.3/
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48604, url.original: /package/system/0.5.3/
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48598, url.original: /package/endpoint/0.13.1/
[00:02:37]                 │ info [docker:registry] 2020/10/06 14:36:20 source.ip: 172.17.0.1:48606, url.original: /package/endpoint/0.13.1/
[00:02:37]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:38]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:42]                 │ proc [kibana]   log   [14:36:25.202] [error][ingestManager][plugins] Saved object [ingest-agent-policies/policy1] not found
[00:02:42]                 │ info [docker:registry] 2020/10/06 14:36:25 source.ip: 172.17.0.1:48708, url.original: /search?package=system&internal=true&experimental=true
[00:02:42]                 │ info [docker:registry] 2020/10/06 14:36:25 source.ip: 172.17.0.1:48706, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48720, url.original: /search?package=system&internal=true&experimental=true
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48718, url.original: /package/system/0.5.3
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48724, url.original: /package/system/0.5.3/
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48732, url.original: /search?package=system&internal=true&experimental=true
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48730, url.original: /package/system/0.5.3
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48736, url.original: /package/system/0.5.3/
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48740, url.original: /package/system/0.5.3
[00:02:43]                 │ info [docker:registry] 2020/10/06 14:36:26 source.ip: 172.17.0.1:48744, url.original: /package/system/0.5.3/
[00:02:43]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] update_mapping [_doc]
[00:02:45]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updated role [fleet_enroll]
[00:02:45]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updated user [fleet_enroll]
[00:02:49]               └-> should respond 200 to upgrade agent and update the agent SO
[00:02:49]                 └-> "before each" hook: global before each
[00:02:49]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:49]                 └-> "before each" hook
[00:02:49]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:49]                   │ info [fleet/agents] Loading "data.json"
[00:02:49]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/wOHTb9RkR4Gyfiq_SbQoSA] deleting index
[00:02:49]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/y4Jp9rJpSjaXNoagvA7CVg] deleting index
[00:02:49]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:49]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:49]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:49]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:49]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] update_mapping [_doc]
[00:02:49]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] update_mapping [_doc]
[00:02:49]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] update_mapping [_doc]
[00:02:49]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] update_mapping [_doc]
[00:02:50]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] update_mapping [_doc]
[00:02:50]                   │ debg Migrating saved objects
[00:02:50]                   │ proc [kibana]   log   [14:36:32.751] [info][savedobjects-service] Creating index .kibana_2.
[00:02:50]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:50]                   │ proc [kibana]   log   [14:36:32.815] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] update_mapping [_doc]
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] update_mapping [_doc]
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] update_mapping [_doc]
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] update_mapping [_doc]
[00:02:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] update_mapping [_doc]
[00:02:50]                   │ proc [kibana]   log   [14:36:33.063] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:50]                   │ proc [kibana]   log   [14:36:33.114] [info][savedobjects-service] Finished in 364ms.
[00:02:52]                 └- ✓ pass  (1.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO"
[00:02:52]               └-> "after each" hook
[00:02:52]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:02:52]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:02:52]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:02:52]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:02:52]               └-> should respond 200 to upgrade agent and update the agent SO without source_uri
[00:02:52]                 └-> "before each" hook: global before each
[00:02:52]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:52]                 └-> "before each" hook
[00:02:52]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:52]                   │ info [fleet/agents] Loading "data.json"
[00:02:52]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/vzU6MhkWSVO-Z8T12e82OQ] deleting index
[00:02:52]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/9otLlzSYS0OLmOtuLV7ElQ] deleting index
[00:02:52]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:52]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:52]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:52]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] update_mapping [_doc]
[00:02:52]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] update_mapping [_doc]
[00:02:52]                   │ debg Migrating saved objects
[00:02:52]                   │ proc [kibana]   log   [14:36:35.348] [info][savedobjects-service] Creating index .kibana_2.
[00:02:52]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:52]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:52]                   │ proc [kibana]   log   [14:36:35.416] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] update_mapping [_doc]
[00:02:52]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] update_mapping [_doc]
[00:02:53]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] update_mapping [_doc]
[00:02:53]                   │ proc [kibana]   log   [14:36:35.692] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:53]                   │ proc [kibana]   log   [14:36:35.741] [info][savedobjects-service] Finished in 394ms.
[00:02:54]                 └- ✓ pass  (1.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO without source_uri"
[00:02:54]               └-> "after each" hook
[00:02:54]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:02:54]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:02:54]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:02:54]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:02:54]               └-> should respond 400 if trying to upgrade to a version that does not match installed kibana version
[00:02:54]                 └-> "before each" hook: global before each
[00:02:54]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:54]                 └-> "before each" hook
[00:02:54]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:54]                   │ info [fleet/agents] Loading "data.json"
[00:02:54]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/G7T6-gSfSYuJjWSO8NKlSQ] deleting index
[00:02:54]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/GJpp6JdpQcqsmgGB2KnqAQ] deleting index
[00:02:54]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:54]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:54]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:54]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] update_mapping [_doc]
[00:02:55]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] update_mapping [_doc]
[00:02:55]                   │ debg Migrating saved objects
[00:02:55]                   │ proc [kibana]   log   [14:36:37.931] [info][savedobjects-service] Creating index .kibana_2.
[00:02:55]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:55]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:55]                   │ proc [kibana]   log   [14:36:37.993] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] update_mapping [_doc]
[00:02:55]                   │ proc [kibana]   log   [14:36:38.263] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:55]                   │ proc [kibana]   log   [14:36:38.310] [info][savedobjects-service] Finished in 380ms.
[00:02:55]                 └- ✓ pass  (29ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade to a version that does not match installed kibana version"
[00:02:55]               └-> "after each" hook
[00:02:55]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:02:55]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:02:55]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:02:55]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:02:55]               └-> should respond 400 if trying to upgrade an agent that is unenrolling
[00:02:55]                 └-> "before each" hook: global before each
[00:02:55]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:55]                 └-> "before each" hook
[00:02:55]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:55]                   │ info [fleet/agents] Loading "data.json"
[00:02:55]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bcKJDgR8R_eVbeqGAfCRDQ] deleting index
[00:02:55]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/MjZOepM9Sy6VJyjSYUo9jg] deleting index
[00:02:55]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:55]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:55]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:55]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] update_mapping [_doc]
[00:02:55]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] update_mapping [_doc]
[00:02:56]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] update_mapping [_doc]
[00:02:56]                   │ debg Migrating saved objects
[00:02:56]                   │ proc [kibana]   log   [14:36:38.846] [info][savedobjects-service] Creating index .kibana_2.
[00:02:56]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:56]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:56]                   │ proc [kibana]   log   [14:36:38.908] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] update_mapping [_doc]
[00:02:56]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] update_mapping [_doc]
[00:02:56]                   │ proc [kibana]   log   [14:36:39.165] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:56]                   │ proc [kibana]   log   [14:36:39.208] [info][savedobjects-service] Finished in 363ms.
[00:02:57]                 └- ✓ pass  (708ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolling"
[00:02:57]               └-> "after each" hook
[00:02:57]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:02:57]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:02:57]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:02:57]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:02:57]               └-> should respond 400 if trying to upgrade an agent that is unenrolled
[00:02:57]                 └-> "before each" hook: global before each
[00:02:57]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:57]                 └-> "before each" hook
[00:02:57]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:57]                   │ info [fleet/agents] Loading "data.json"
[00:02:57]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/-inDqDTlSfOqNqfBdFGdeQ] deleting index
[00:02:57]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/YUEGq-A0S_2FvO_76bkZug] deleting index
[00:02:57]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:57]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:57]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] update_mapping [_doc]
[00:02:57]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] update_mapping [_doc]
[00:02:57]                   │ debg Migrating saved objects
[00:02:57]                   │ proc [kibana]   log   [14:36:40.432] [info][savedobjects-service] Creating index .kibana_2.
[00:02:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:57]                   │ proc [kibana]   log   [14:36:40.499] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] update_mapping [_doc]
[00:02:58]                   │ proc [kibana]   log   [14:36:40.753] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:58]                   │ proc [kibana]   log   [14:36:40.798] [info][savedobjects-service] Finished in 367ms.
[00:02:58]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"unenrolled_at":"2020-10-06T14:36:40.804Z"}}
[00:02:58]                 └- ✓ pass  (696ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolled"
[00:02:58]               └-> "after each" hook
[00:02:58]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:02:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:02:58]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:02:58]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:02:58]               └-> should respond 200 to bulk upgrade agents and update the agent SOs
[00:02:58]                 └-> "before each" hook: global before each
[00:02:58]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:02:58]                 └-> "before each" hook
[00:02:58]                   │ info [fleet/agents] Loading "mappings.json"
[00:02:58]                   │ info [fleet/agents] Loading "data.json"
[00:02:58]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/qbp96tJVQGG_2dC4TPU3wQ] deleting index
[00:02:58]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/41uGVOYHQIW3DeCY2f3xBg] deleting index
[00:02:58]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:59]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:59]                   │ info [fleet/agents] Created index ".kibana_1"
[00:02:59]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] update_mapping [_doc]
[00:02:59]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] update_mapping [_doc]
[00:02:59]                   │ debg Migrating saved objects
[00:02:59]                   │ proc [kibana]   log   [14:36:41.978] [info][savedobjects-service] Creating index .kibana_2.
[00:02:59]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:59]                   │ proc [kibana]   log   [14:36:42.051] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] update_mapping [_doc]
[00:02:59]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] update_mapping [_doc]
[00:02:59]                   │ proc [kibana]   log   [14:36:42.290] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:59]                   │ proc [kibana]   log   [14:36:42.335] [info][savedobjects-service] Finished in 358ms.
[00:03:01]                 └- ✓ pass  (1.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to bulk upgrade agents and update the agent SOs"
[00:03:01]               └-> "after each" hook
[00:03:01]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:01]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:01]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:01]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:01]               └-> should allow to upgrade multiple agents by kuery
[00:03:01]                 └-> "before each" hook: global before each
[00:03:01]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:01]                 └-> "before each" hook
[00:03:01]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:01]                   │ info [fleet/agents] Loading "data.json"
[00:03:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/JcZxwdy4SS-fV2UsV0hrZQ] deleting index
[00:03:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/fymKs8M3QTyKvIWaGnp4gw] deleting index
[00:03:01]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:01]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:01]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] update_mapping [_doc]
[00:03:01]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] update_mapping [_doc]
[00:03:01]                   │ debg Migrating saved objects
[00:03:01]                   │ proc [kibana]   log   [14:36:44.538] [info][savedobjects-service] Creating index .kibana_2.
[00:03:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:01]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:01]                   │ proc [kibana]   log   [14:36:44.599] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] update_mapping [_doc]
[00:03:02]                   │ proc [kibana]   log   [14:36:44.853] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:02]                   │ proc [kibana]   log   [14:36:44.894] [info][savedobjects-service] Finished in 357ms.
[00:03:03]                 └- ✓ pass  (1.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should allow to upgrade multiple agents by kuery"
[00:03:03]               └-> "after each" hook
[00:03:03]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:04]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:04]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:04]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:04]               └-> should not upgrade an unenrolling agent during bulk_upgrade
[00:03:04]                 └-> "before each" hook: global before each
[00:03:04]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:04]                 └-> "before each" hook
[00:03:04]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:04]                   │ info [fleet/agents] Loading "data.json"
[00:03:04]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/AKQwciJEQuaqCb1FwU-hWg] deleting index
[00:03:04]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/vz6rHs2nT4KPhzk0NB61gQ] deleting index
[00:03:04]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:04]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:04]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] update_mapping [_doc]
[00:03:04]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] update_mapping [_doc]
[00:03:04]                   │ debg Migrating saved objects
[00:03:04]                   │ proc [kibana]   log   [14:36:47.106] [info][savedobjects-service] Creating index .kibana_2.
[00:03:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:04]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:04]                   │ proc [kibana]   log   [14:36:47.172] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] update_mapping [_doc]
[00:03:04]                   │ proc [kibana]   log   [14:36:47.434] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:04]                   │ proc [kibana]   log   [14:36:47.476] [info][savedobjects-service] Finished in 371ms.
[00:03:07]                 └- ✓ pass  (2.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should not upgrade an unenrolling agent during bulk_upgrade"
[00:03:07]               └-> "after each" hook
[00:03:07]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:07]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:07]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:07]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:07]               └-> should not upgrade an unenrolled agent during bulk_upgrade
[00:03:07]                 └-> "before each" hook: global before each
[00:03:07]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:07]                 └-> "before each" hook
[00:03:07]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:07]                   │ info [fleet/agents] Loading "data.json"
[00:03:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/bJPuLZ0qTF-iyk_64PZnrA] deleting index
[00:03:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/3MZTEQAcRgyBvRRxZd_FEw] deleting index
[00:03:07]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:07]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:07]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/x7zVjiU4SbOSAYu39iSbzw] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/x7zVjiU4SbOSAYu39iSbzw] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/x7zVjiU4SbOSAYu39iSbzw] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/x7zVjiU4SbOSAYu39iSbzw] update_mapping [_doc]
[00:03:07]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_1/x7zVjiU4SbOSAYu39iSbzw] update_mapping [_doc]
[00:03:08]                   │ debg Migrating saved objects
[00:03:08]                   │ proc [kibana]   log   [14:36:50.662] [info][savedobjects-service] Creating index .kibana_2.
[00:03:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:08]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:08]                   │ proc [kibana]   log   [14:36:50.722] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/c0hXDfATTTm57Wwr4VCRPw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/c0hXDfATTTm57Wwr4VCRPw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/c0hXDfATTTm57Wwr4VCRPw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/c0hXDfATTTm57Wwr4VCRPw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1601989785642361809] [.kibana_2/c0hXDfATTTm57Wwr4VCRPw] update_mapping [_doc]
[00:03:08]                   │ proc [kibana]   log   [14:36:50.967] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:08]                   │ proc [kibana]   log   [14:36:51.016] [info][savedobjects-service] Finished in 355ms.
[00:03:08]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"unenrolled_at":"2020-10-06T14:36:51.021Z"}}
[00:03:10]                 └- ✖ fail: Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should not upgrade an unenrolled agent during bulk_upgrade
[00:03:10]                 │      Error: expected 'string' to equal 'undefined'
[00:03:10]                 │       at Assertion.assert (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:100:11)
[00:03:10]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:227:8)
[00:03:10]                 │       at Assertion.be (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:69:22)
[00:03:10]                 │       at Context.it (test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts:182:65)
[00:03:10]                 │ 
[00:03:10]                 │ 

Stack Trace

Error: expected 'string' to equal 'undefined'
    at Assertion.assert (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/9/kibana/packages/kbn-expect/expect.js:69:22)
    at Context.it (test/ingest_manager_api_integration/apis/fleet/agents/upgrade.ts:182:65)

Metrics [docs]

✅ unchanged

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

@afharo afharo merged commit ed82539 into elastic:master Oct 6, 2020
@afharo afharo deleted the usage_collection/schema/merge_array_of_constraints branch October 6, 2020 15:41
@lukeelmers lukeelmers added the Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// label Oct 1, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-core (Team:Core)

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

Labels

Feature:Telemetry release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants