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

[SECURITY_SOLUTION] Reused the naming scheme for field column in conditions table. #79722

Merged
merged 5 commits into from
Oct 6, 2020

Conversation

efreeti
Copy link
Contributor

@efreeti efreeti commented Oct 6, 2020

Summary

Improved the naming of field column in the trusted app card.

names

Checklist

@efreeti efreeti added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Management Feature:Endpoint Elastic Endpoint feature v7.10.0 labels Oct 6, 2020
@efreeti efreeti requested review from a team as code owners October 6, 2020 17:21
@efreeti efreeti self-assigned this Oct 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Endpoint)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

Copy link
Contributor

@paul-tavares paul-tavares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you are still missing the Operator. It should show is for included.

@kevinlog
Copy link
Contributor

kevinlog commented Oct 6, 2020

@elasticmachine merge upstream

@kevinlog kevinlog changed the title Reused the naming scheme for field column in conditions table. [SECURITY_SOLUTION] Reused the naming scheme for field column in conditions table. Oct 6, 2020
@kevinlog kevinlog merged commit 383a912 into elastic:master Oct 6, 2020
kevinlog pushed a commit to kevinlog/kibana that referenced this pull request Oct 6, 2020
…itions table. (elastic#79722)

* Reused the naming scheme for field column in conditions table.

* Updated snapshot.

* update Operator value to show as `is`

* Update Jest snapshot

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

💔 Build Failed

Failed CI Steps


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 respond 400 if trying to upgrade an agent that is not upgradeable

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Ingest Manager Endpoints
[00:00:00]           └-> "before all" hook
[00:00:09]           └-: Fleet Endpoints
[00:00:09]             └-> "before all" hook
[00:02:45]             └-: fleet upgrade agent
[00:02:45]               └-> "before all" hook
[00:02:45]               └-> "before all" hook
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37914, url.original: /search?package=system&internal=true&experimental=true
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37912, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37922, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37920, url.original: /search?package=system&internal=true&experimental=true
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37926, url.original: /package/endpoint/0.13.1
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37930, url.original: /package/system/0.5.3
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37938, url.original: /package/system/0.5.3/
[00:02:45]                 │ info [docker:registry] 2020/10/06 21:31:00 source.ip: 172.17.0.1:37936, url.original: /package/endpoint/0.13.1/
[00:02:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37946, url.original: /search
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37944, url.original: /search
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37956, url.original: /package/system/0.5.3
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37952, url.original: /package/endpoint/0.13.1
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37960, url.original: /package/endpoint/0.13.1
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37962, url.original: /package/system/0.5.3
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37972, url.original: /package/system/0.5.3/
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37976, url.original: /package/endpoint/0.13.1/
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37970, url.original: /package/endpoint/0.13.1/
[00:02:46]                 │ info [docker:registry] 2020/10/06 21:31:01 source.ip: 172.17.0.1:37978, url.original: /package/system/0.5.3/
[00:02:46]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:47]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:47]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:47]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:51]                 │ proc [kibana]   log   [21:31:06.592] [error][ingestManager][plugins] Saved object [ingest-agent-policies/policy1] not found
[00:02:51]                 │ info [docker:registry] 2020/10/06 21:31:06 source.ip: 172.17.0.1:37998, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:51]                 │ info [docker:registry] 2020/10/06 21:31:06 source.ip: 172.17.0.1:38000, url.original: /search?package=system&internal=true&experimental=true
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38010, url.original: /search?package=system&internal=true&experimental=true
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38008, url.original: /package/system/0.5.3
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38014, url.original: /package/system/0.5.3/
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38020, url.original: /search?package=system&internal=true&experimental=true
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38022, url.original: /package/system/0.5.3
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38026, url.original: /package/system/0.5.3/
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38030, url.original: /package/system/0.5.3
[00:02:52]                 │ info [docker:registry] 2020/10/06 21:31:07 source.ip: 172.17.0.1:38034, url.original: /package/system/0.5.3/
[00:02:53]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] update_mapping [_doc]
[00:02:54]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updated role [fleet_enroll]
[00:02:54]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updated user [fleet_enroll]
[00:02:57]               └-> should respond 200 to upgrade agent and update the agent SO
[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-1602011504936609587] [.kibana_1/QkT8_dztRWigvS3fu4h8zA] deleting index
[00:02:57]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nmmVe4VDSXiVd8BvWNc-hQ] 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-1602011504936609587] [.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-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] update_mapping [_doc]
[00:02:58]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] update_mapping [_doc]
[00:02:58]                   │ debg Migrating saved objects
[00:02:58]                   │ proc [kibana]   log   [21:31:13.127] [info][savedobjects-service] Creating index .kibana_2.
[00:02:58]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:02:58]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:58]                   │ proc [kibana]   log   [21:31:13.193] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] update_mapping [_doc]
[00:02:58]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] update_mapping [_doc]
[00:02:58]                   │ proc [kibana]   log   [21:31:13.429] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:58]                   │ proc [kibana]   log   [21:31:13.470] [info][savedobjects-service] Finished in 344ms.
[00:02:58]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"local_metadata":{"elastic":{"agent":{"upgradeable":true,"version":"0.0.0"}}}}}
[00:03:01]                 └- ✓ pass  (2.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO"
[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 respond 200 to upgrade agent and update the agent SO without source_uri
[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-1602011504936609587] [.kibana_1/-lXxbxqlRnWPYmdPkn9GSw] deleting index
[00:03:01]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/MPBZGSbFROiiXgWG51W4dg] 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-1602011504936609587] [.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-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] 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-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] update_mapping [_doc]
[00:03:01]                   │ debg Migrating saved objects
[00:03:01]                   │ proc [kibana]   log   [21:31:16.686] [info][savedobjects-service] Creating index .kibana_2.
[00:03:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.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-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:01]                   │ proc [kibana]   log   [21:31:16.745] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] update_mapping [_doc]
[00:03:02]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] update_mapping [_doc]
[00:03:02]                   │ proc [kibana]   log   [21:31:16.979] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:02]                   │ proc [kibana]   log   [21:31:17.024] [info][savedobjects-service] Finished in 340ms.
[00:03:02]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"local_metadata":{"elastic":{"agent":{"upgradeable":true,"version":"0.0.0"}}}}}
[00:03:04]                 └- ✓ pass  (2.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO without source_uri"
[00:03:04]               └-> "after each" hook
[00:03:04]                 │ 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 respond 400 if trying to upgrade to a version that does not match installed kibana version
[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-1602011504936609587] [.kibana_2/lCrJpzICRHqo-pL8786sZQ] deleting index
[00:03:04]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/XLwdpXp4RB2ZEKnuV9rqjg] deleting index
[00:03:05]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:05]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:05]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] update_mapping [_doc]
[00:03:05]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] update_mapping [_doc]
[00:03:05]                   │ debg Migrating saved objects
[00:03:05]                   │ proc [kibana]   log   [21:31:20.256] [info][savedobjects-service] Creating index .kibana_2.
[00:03:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:05]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:05]                   │ proc [kibana]   log   [21:31:20.318] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] update_mapping [_doc]
[00:03:05]                   │ proc [kibana]   log   [21:31:20.560] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:05]                   │ proc [kibana]   log   [21:31:20.605] [info][savedobjects-service] Finished in 350ms.
[00:03:05]                 └- ✓ pass  (32ms) "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:03:05]               └-> "after each" hook
[00:03:05]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:05]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:05]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:05]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:05]               └-> should respond 400 if trying to upgrade an agent that is unenrolling
[00:03:05]                 └-> "before each" hook: global before each
[00:03:05]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:05]                 └-> "before each" hook
[00:03:05]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:05]                   │ info [fleet/agents] Loading "data.json"
[00:03:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/7ZNCB3hiTpeH-0dlsYNLZA] deleting index
[00:03:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/ZaG4rleuTnS9cq7uS9gZgQ] deleting index
[00:03:05]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:05]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:05]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] update_mapping [_doc]
[00:03:06]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] update_mapping [_doc]
[00:03:06]                   │ debg Migrating saved objects
[00:03:06]                   │ proc [kibana]   log   [21:31:21.120] [info][savedobjects-service] Creating index .kibana_2.
[00:03:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:06]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:06]                   │ proc [kibana]   log   [21:31:21.183] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] update_mapping [_doc]
[00:03:06]                   │ proc [kibana]   log   [21:31:21.422] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:06]                   │ proc [kibana]   log   [21:31:21.463] [info][savedobjects-service] Finished in 344ms.
[00:03:07]                 └- ✓ pass  (721ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolling"
[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 respond 400 if trying to upgrade an agent that is unenrolled
[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-1602011504936609587] [.kibana_1/s8r13PPaRNafEfYP6x08Pg] deleting index
[00:03:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/nCtTX25cQ5OtNT_jEav6LQ] 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-1602011504936609587] [.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-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] 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-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] update_mapping [_doc]
[00:03:07]                   │ debg Migrating saved objects
[00:03:07]                   │ proc [kibana]   log   [21:31:22.672] [info][savedobjects-service] Creating index .kibana_2.
[00:03:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:07]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:07]                   │ proc [kibana]   log   [21:31:22.735] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] update_mapping [_doc]
[00:03:08]                   │ proc [kibana]   log   [21:31:22.977] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:08]                   │ proc [kibana]   log   [21:31:23.018] [info][savedobjects-service] Finished in 347ms.
[00:03:08]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"unenrolled_at":"2020-10-06T21:31:23.024Z"}}
[00:03:08]                 └- ✓ pass  (723ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolled"
[00:03:08]               └-> "after each" hook
[00:03:08]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:08]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:08]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:08]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:08]               └-> should respond 400 if trying to upgrade an agent that is not upgradeable
[00:03:08]                 └-> "before each" hook: global before each
[00:03:08]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:08]                 └-> "before each" hook
[00:03:08]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:08]                   │ info [fleet/agents] Loading "data.json"
[00:03:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/qmBUQSfDQOW-4gJzxzliSw] deleting index
[00:03:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/cm-so5IQQIm4DswTVtYp2Q] deleting index
[00:03:09]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:09]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:09]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:09]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/kclouuxKTje309hIqtwawQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/kclouuxKTje309hIqtwawQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/kclouuxKTje309hIqtwawQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/kclouuxKTje309hIqtwawQ] update_mapping [_doc]
[00:03:09]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/kclouuxKTje309hIqtwawQ] update_mapping [_doc]
[00:03:09]                   │ debg Migrating saved objects
[00:03:09]                   │ proc [kibana]   log   [21:31:24.228] [info][savedobjects-service] Creating index .kibana_2.
[00:03:09]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:09]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:09]                   │ proc [kibana]   log   [21:31:24.293] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/aGb5t277SiGsC2vpVCxrrQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/aGb5t277SiGsC2vpVCxrrQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/aGb5t277SiGsC2vpVCxrrQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/aGb5t277SiGsC2vpVCxrrQ] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/aGb5t277SiGsC2vpVCxrrQ] update_mapping [_doc]
[00:03:09]                   │ proc [kibana]   log   [21:31:24.530] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:09]                   │ proc [kibana]   log   [21:31:24.571] [info][savedobjects-service] Finished in 344ms.
[00:03:09]                 └- ✖ fail: Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is not upgradeable
[00:03:09]                 │      Error: expected 400 "Bad Request", got 404 "Not Found"
[00:03:09]                 │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:03:09]                 │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:03:09]                 │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:03:09]                 │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:03:09]                 │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:03:09]                 │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
[00:03:09]                 │       at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
[00:03:09]                 │       at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:03:09]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:03:09]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:03:09]                 │ 
[00:03:09]                 │ 

Stack Trace

Error: expected 400 "Bad Request", got 404 "Not Found"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

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 respond 400 if trying to upgrade an agent that is not upgradeable

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Ingest Manager Endpoints
[00:00:00]           └-> "before all" hook
[00:00:09]           └-: Fleet Endpoints
[00:00:09]             └-> "before all" hook
[00:02:44]             └-: fleet upgrade agent
[00:02:44]               └-> "before all" hook
[00:02:44]               └-> "before all" hook
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57066, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57064, url.original: /search?package=system&internal=true&experimental=true
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57074, url.original: /search?package=system&internal=true&experimental=true
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57072, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57080, url.original: /package/system/0.5.3
[00:02:44]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57084, url.original: /package/endpoint/0.13.1
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57090, url.original: /package/system/0.5.3/
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:31 source.ip: 172.17.0.1:57092, url.original: /package/endpoint/0.13.1/
[00:02:45]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57104, url.original: /search
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57106, url.original: /search
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57114, url.original: /package/system/0.5.3
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57116, url.original: /package/endpoint/0.13.1
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57124, url.original: /package/system/0.5.3
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57122, url.original: /package/endpoint/0.13.1
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57132, url.original: /package/system/0.5.3/
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57138, url.original: /package/system/0.5.3/
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57134, url.original: /package/endpoint/0.13.1/
[00:02:45]                 │ info [docker:registry] 2020/10/06 20:37:32 source.ip: 172.17.0.1:57140, url.original: /package/endpoint/0.13.1/
[00:02:46]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:46]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:47]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:47]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:50]                 │ proc [kibana]   log   [20:37:37.890] [error][ingestManager][plugins] Saved object [ingest-agent-policies/policy1] not found
[00:02:51]                 │ info [docker:registry] 2020/10/06 20:37:37 source.ip: 172.17.0.1:57206, url.original: /search?package=endpoint&internal=true&experimental=true
[00:02:51]                 │ info [docker:registry] 2020/10/06 20:37:37 source.ip: 172.17.0.1:57208, url.original: /search?package=system&internal=true&experimental=true
[00:02:51]                 │ info [docker:registry] 2020/10/06 20:37:38 source.ip: 172.17.0.1:57240, url.original: /search?package=system&internal=true&experimental=true
[00:02:51]                 │ info [docker:registry] 2020/10/06 20:37:38 source.ip: 172.17.0.1:57238, url.original: /package/system/0.5.3
[00:02:51]                 │ info [docker:registry] 2020/10/06 20:37:38 source.ip: 172.17.0.1:57244, url.original: /package/system/0.5.3/
[00:02:52]                 │ info [docker:registry] 2020/10/06 20:37:39 source.ip: 172.17.0.1:57262, url.original: /search?package=system&internal=true&experimental=true
[00:02:52]                 │ info [docker:registry] 2020/10/06 20:37:39 source.ip: 172.17.0.1:57260, url.original: /package/system/0.5.3
[00:02:52]                 │ info [docker:registry] 2020/10/06 20:37:39 source.ip: 172.17.0.1:57266, url.original: /package/system/0.5.3/
[00:02:52]                 │ info [docker:registry] 2020/10/06 20:37:39 source.ip: 172.17.0.1:57270, url.original: /package/system/0.5.3
[00:02:52]                 │ info [docker:registry] 2020/10/06 20:37:39 source.ip: 172.17.0.1:57274, url.original: /package/system/0.5.3/
[00:02:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] update_mapping [_doc]
[00:02:54]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updated role [fleet_enroll]
[00:02:54]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updated user [fleet_enroll]
[00:02:57]               └-> should respond 200 to upgrade agent and update the agent SO
[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-1602011504936609587] [.kibana_2/8Z47QIlbSGuYJscfGu0g2g] deleting index
[00:02:57]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/UfQsRvZXSwCAtg8M2B2KGA] 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-1602011504936609587] [.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-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] 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-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] update_mapping [_doc]
[00:02:57]                   │ debg Migrating saved objects
[00:02:57]                   │ proc [kibana]   log   [20:37:44.444] [info][savedobjects-service] Creating index .kibana_2.
[00:02:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.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-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:57]                   │ proc [kibana]   log   [20:37:44.511] [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-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] update_mapping [_doc]
[00:02:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] update_mapping [_doc]
[00:02:57]                   │ proc [kibana]   log   [20:37:44.760] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:57]                   │ proc [kibana]   log   [20:37:44.802] [info][savedobjects-service] Finished in 360ms.
[00:02:57]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"local_metadata":{"elastic":{"agent":{"upgradeable":true,"version":"0.0.0"}}}}}
[00:03:00]                 └- ✓ pass  (2.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO"
[00:03:00]               └-> "after each" hook
[00:03:00]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:00]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:00]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:00]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:00]               └-> should respond 200 to upgrade agent and update the agent SO without source_uri
[00:03:00]                 └-> "before each" hook: global before each
[00:03:00]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:00]                 └-> "before each" hook
[00:03:00]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:00]                   │ info [fleet/agents] Loading "data.json"
[00:03:00]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/f6gajVhsT-euZYX2TumPIw] deleting index
[00:03:00]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/CIO5_UidTlC05lcQG5eNCw] deleting index
[00:03:00]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:00]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:00]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:00]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] update_mapping [_doc]
[00:03:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] update_mapping [_doc]
[00:03:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] update_mapping [_doc]
[00:03:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] 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-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] update_mapping [_doc]
[00:03:01]                   │ debg Migrating saved objects
[00:03:01]                   │ proc [kibana]   log   [20:37:48.035] [info][savedobjects-service] Creating index .kibana_2.
[00:03:01]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.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-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:01]                   │ proc [kibana]   log   [20:37:48.100] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] update_mapping [_doc]
[00:03:01]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] update_mapping [_doc]
[00:03:01]                   │ proc [kibana]   log   [20:37:48.344] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:01]                   │ proc [kibana]   log   [20:37:48.389] [info][savedobjects-service] Finished in 356ms.
[00:03:01]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"local_metadata":{"elastic":{"agent":{"upgradeable":true,"version":"0.0.0"}}}}}
[00:03:04]                 └- ✓ pass  (2.7s) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 200 to upgrade agent and update the agent SO without source_uri"
[00:03:04]               └-> "after each" hook
[00:03:04]                 │ 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 respond 400 if trying to upgrade to a version that does not match installed kibana version
[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-1602011504936609587] [.kibana_1/-IGKoET8Q7eJA5BCFjCTbg] deleting index
[00:03:04]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/_dZGKwufR-qj8S0y_jBwag] 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-1602011504936609587] [.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-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] 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-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] update_mapping [_doc]
[00:03:04]                   │ debg Migrating saved objects
[00:03:04]                   │ proc [kibana]   log   [20:37:51.631] [info][savedobjects-service] Creating index .kibana_2.
[00:03:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.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-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:04]                   │ proc [kibana]   log   [20:37:51.694] [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-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] update_mapping [_doc]
[00:03:04]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] update_mapping [_doc]
[00:03:05]                   │ proc [kibana]   log   [20:37:51.937] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:05]                   │ proc [kibana]   log   [20:37:51.983] [info][savedobjects-service] Finished in 354ms.
[00:03:05]                 └- ✓ pass  (31ms) "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:03:05]               └-> "after each" hook
[00:03:05]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:05]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:05]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:05]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:05]               └-> should respond 400 if trying to upgrade an agent that is unenrolling
[00:03:05]                 └-> "before each" hook: global before each
[00:03:05]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:05]                 └-> "before each" hook
[00:03:05]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:05]                   │ info [fleet/agents] Loading "data.json"
[00:03:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/AIa_xo6bRwKgYR_RquqVNQ] deleting index
[00:03:05]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/47sXPZjfQ_ySRptUgmjYuQ] deleting index
[00:03:05]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:05]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:05]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] update_mapping [_doc]
[00:03:05]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] update_mapping [_doc]
[00:03:05]                   │ debg Migrating saved objects
[00:03:05]                   │ proc [kibana]   log   [20:37:52.517] [info][savedobjects-service] Creating index .kibana_2.
[00:03:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:05]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:05]                   │ proc [kibana]   log   [20:37:52.578] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] update_mapping [_doc]
[00:03:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] update_mapping [_doc]
[00:03:05]                   │ proc [kibana]   log   [20:37:52.810] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:05]                   │ proc [kibana]   log   [20:37:52.852] [info][savedobjects-service] Finished in 336ms.
[00:03:06]                 └- ✓ pass  (733ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolling"
[00:03:06]               └-> "after each" hook
[00:03:06]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:06]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:06]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:06]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:06]               └-> should respond 400 if trying to upgrade an agent that is unenrolled
[00:03:06]                 └-> "before each" hook: global before each
[00:03:06]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:06]                 └-> "before each" hook
[00:03:06]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:06]                   │ info [fleet/agents] Loading "data.json"
[00:03:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/RhxlOEjZQQCQmw86SXiMGQ] deleting index
[00:03:06]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/BUxQLl4fTPydzz9Do_bwqg] deleting index
[00:03:06]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:06]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:06]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:06]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] update_mapping [_doc]
[00:03:06]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] 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-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] update_mapping [_doc]
[00:03:07]                   │ debg Migrating saved objects
[00:03:07]                   │ proc [kibana]   log   [20:37:54.089] [info][savedobjects-service] Creating index .kibana_2.
[00:03:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:03:07]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:07]                   │ proc [kibana]   log   [20:37:54.156] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] update_mapping [_doc]
[00:03:07]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] update_mapping [_doc]
[00:03:07]                   │ proc [kibana]   log   [20:37:54.403] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:07]                   │ proc [kibana]   log   [20:37:54.447] [info][savedobjects-service] Finished in 360ms.
[00:03:07]                 │ debg Updating saved object: {"id":"agent1","type":"fleet-agents","attributes":{"unenrolled_at":"2020-10-06T20:37:54.454Z"}}
[00:03:08]                 └- ✓ pass  (710ms) "Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is unenrolled"
[00:03:08]               └-> "after each" hook
[00:03:08]                 │ info [fleet/agents] Unloading indices from "mappings.json"
[00:03:08]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:03:08]                 │ info [fleet/agents] Deleted existing index ".kibana"
[00:03:08]                 │ info [fleet/agents] Unloading indices from "data.json"
[00:03:08]               └-> should respond 400 if trying to upgrade an agent that is not upgradeable
[00:03:08]                 └-> "before each" hook: global before each
[00:03:08]                 └-> "before each" hook: beforeSetupWithDockerRegistry
[00:03:08]                 └-> "before each" hook
[00:03:08]                   │ info [fleet/agents] Loading "mappings.json"
[00:03:08]                   │ info [fleet/agents] Loading "data.json"
[00:03:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/lGxTfWeGQyyJlWbp5yecPQ] deleting index
[00:03:08]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/ak6BICplSCKsR88KaYkELg] deleting index
[00:03:08]                   │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:03:08]                   │ info [fleet/agents] Created index ".kibana_1"
[00:03:08]                   │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/CJhFHTr3T8ikdiSc3ZhyzA] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/CJhFHTr3T8ikdiSc3ZhyzA] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/CJhFHTr3T8ikdiSc3ZhyzA] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/CJhFHTr3T8ikdiSc3ZhyzA] update_mapping [_doc]
[00:03:08]                   │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_1/CJhFHTr3T8ikdiSc3ZhyzA] update_mapping [_doc]
[00:03:08]                   │ debg Migrating saved objects
[00:03:08]                   │ proc [kibana]   log   [20:37:55.650] [info][savedobjects-service] Creating index .kibana_2.
[00:03:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.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-1602011504936609587] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:08]                   │ proc [kibana]   log   [20:37:55.712] [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-1602011504936609587] [.kibana_2/y4vHl37gRSyTzTVEGxtYCg] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/y4vHl37gRSyTzTVEGxtYCg] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/y4vHl37gRSyTzTVEGxtYCg] update_mapping [_doc]
[00:03:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/y4vHl37gRSyTzTVEGxtYCg] update_mapping [_doc]
[00:03:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1602011504936609587] [.kibana_2/y4vHl37gRSyTzTVEGxtYCg] update_mapping [_doc]
[00:03:09]                   │ proc [kibana]   log   [20:37:55.961] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:03:09]                   │ proc [kibana]   log   [20:37:56.008] [info][savedobjects-service] Finished in 360ms.
[00:03:09]                 └- ✖ fail: Ingest Manager Endpoints Fleet Endpoints fleet upgrade agent should respond 400 if trying to upgrade an agent that is not upgradeable
[00:03:09]                 │      Error: expected 400 "Bad Request", got 404 "Not Found"
[00:03:09]                 │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:03:09]                 │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:03:09]                 │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:03:09]                 │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:03:09]                 │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:03:09]                 │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
[00:03:09]                 │       at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
[00:03:09]                 │       at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:03:09]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:03:09]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:03:09]                 │ 
[00:03:09]                 │ 

Stack Trace

Error: expected 400 "Bad Request", got 404 "Not Found"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Metrics [docs]

async chunks size

id before after diff
securitySolution 10.5MB 10.5MB +750.0B

History

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

kevinlog added a commit that referenced this pull request Oct 6, 2020
…itions table. (#79722) (#79776)

* Reused the naming scheme for field column in conditions table.

* Updated snapshot.

* update Operator value to show as `is`

* Update Jest snapshot

Co-authored-by: Paul Tavares <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Bohdan Tsymbala <[email protected]>
Co-authored-by: Paul Tavares <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
@efreeti efreeti deleted the btsymbala/better-naming-for-field branch October 7, 2020 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Endpoint Elastic Endpoint feature release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants