Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.11] [Transform] Show destination index mapping warning for the latest transform (#87858) #87999

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

darnautov
Copy link
Contributor

Backports the following commits to 7.11:

…nsform (elastic#87858)

* [Transform] show callout for the latest transform

* [Transform] fix flex styles

* [Transform] change to vertical layout, update warning message

* [Transform] fix messages
@darnautov darnautov self-assigned this Jan 12, 2021
@darnautov darnautov added the :ml label Jan 12, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/agents/acks·ts.Fleet Endpoints fleet_agents_acks ack upgrade should update fleet-agent SO

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Fleet Endpoints
[00:00:00]           └-> "before all" hook
[00:01:18]           └-: fleet_agents_acks
[00:01:18]             └-> "before all" hook
[00:01:18]             └-> "before all" hook
[00:01:18]               │ info [fleet/agents] Loading "mappings.json"
[00:01:18]               │ info [fleet/agents] Loading "data.json"
[00:01:19]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/-uUyr8NhRRKPNYQCmNIkrQ] deleting index
[00:01:19]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/Wd_C1_OKRzS6sdxs6U-f1g] deleting index
[00:01:19]               │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:19]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:19]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:01:19]               │ info [fleet/agents] Created index ".kibana_1"
[00:01:19]               │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/dk5qSeOiSN-S-TFhSLlOTA] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/dk5qSeOiSN-S-TFhSLlOTA] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/dk5qSeOiSN-S-TFhSLlOTA] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/dk5qSeOiSN-S-TFhSLlOTA] update_mapping [_doc]
[00:01:19]               │ info [fleet/agents] Indexed 13 docs into ".kibana"
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_1/dk5qSeOiSN-S-TFhSLlOTA] update_mapping [_doc]
[00:01:19]               │ debg Migrating saved objects
[00:01:19]               │ proc [kibana]   log   [13:24:45.787] [info][savedobjects-service] Creating index .kibana_2.
[00:01:19]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:19]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:19]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:01:19]               │ proc [kibana]   log   [13:24:45.854] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/C0UjjqQ4TNuiDAck3Otjvw] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/C0UjjqQ4TNuiDAck3Otjvw] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/C0UjjqQ4TNuiDAck3Otjvw] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/C0UjjqQ4TNuiDAck3Otjvw] update_mapping [_doc]
[00:01:19]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] [.kibana_2/C0UjjqQ4TNuiDAck3Otjvw] update_mapping [_doc]
[00:01:19]               │ proc [kibana]   log   [13:24:46.134] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:19]               │ proc [kibana]   log   [13:24:46.186] [info][savedobjects-service] Finished in 401ms.
[00:01:20]             └-> should return a 401 if this a not a valid acks access
[00:01:20]               └-> "before each" hook: global before each
[00:01:20]               │ info [o.e.x.s.a.AuthenticationService] [kibana-ci-immutable-debian-tests-xxl-1610453174357430423] Authentication using apikey failed - Illegal base64 character 5f
[00:01:20]               │      java.lang.IllegalArgumentException: Illegal base64 character 5f
[00:01:20]               │      	at java.util.Base64$Decoder.decode0(Base64.java:791) ~[?:?]
[00:01:20]               │      	at java.util.Base64$Decoder.decode(Base64.java:567) ~[?:?]
[00:01:20]               │      	at java.util.Base64$Decoder.decode(Base64.java:590) ~[?:?]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.ApiKeyService.getCredentialsFromHeader(ApiKeyService.java:688) ~[x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.ApiKeyService.authenticateWithApiKeyIfPresent(ApiKeyService.java:355) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.checkForApiKey(AuthenticationService.java:351) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$authenticateAsync$0(AuthenticationService.java:333) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:128) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.TokenService.getAndValidateToken(TokenService.java:409) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$authenticateAsync$2(AuthenticationService.java:329) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$lookForExistingAuthentication$6(AuthenticationService.java:388) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lookForExistingAuthentication(AuthenticationService.java:399) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.authenticateAsync(AuthenticationService.java:324) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.access$000(AuthenticationService.java:265) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:145) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:130) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.xpack.security.rest.SecurityRestFilter.handleRequest(SecurityRestFilter.java:72) [x-pack-security-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:258) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:340) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:191) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:336) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:401) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:318) [elasticsearch-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:42) [transport-netty4-client-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:28) [transport-netty4-client-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:58) [transport-netty4-client-7.11.0-SNAPSHOT.jar:7.11.0-SNAPSHOT]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [netty-codec-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:615) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:578) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) [netty-transport-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-common-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.49.Final.jar:4.1.49.Final]
[00:01:20]               │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:01:20]               │ proc [kibana]   log   [13:24:47.250] [info][authentication][plugins][security] Authentication attempt failed: [security_exception] missing authentication credentials for REST request [/_security/_authenticate], with { header={ WWW-Authenticate={ 0="Basic realm=\"security\" charset=\"UTF-8\"" & 1="ApiKey" } } }
[00:01:20]               └- ✓ pass  (38ms) "Fleet Endpoints fleet_agents_acks should return a 401 if this a not a valid acks access"
[00:01:20]             └-> should return a 200 if this a valid acks request
[00:01:20]               └-> "before each" hook: global before each
[00:01:22]               └- ✓ pass  (1.6s) "Fleet Endpoints fleet_agents_acks should return a 200 if this a valid acks request"
[00:01:22]             └-> should return a 400 when request event list contains event for another agent id
[00:01:22]               └-> "before each" hook: global before each
[00:01:22]               └- ✓ pass  (38ms) "Fleet Endpoints fleet_agents_acks should return a 400 when request event list contains event for another agent id"
[00:01:22]             └-> should return a 400 when request event list contains action that does not belong to agent current actions
[00:01:22]               └-> "before each" hook: global before each
[00:01:22]               │ proc [kibana]   log   [13:24:48.938] [error][fleet][plugins] One or more actions cannot be found
[00:01:22]               └- ✓ pass  (44ms) "Fleet Endpoints fleet_agents_acks should return a 400 when request event list contains action that does not belong to agent current actions"
[00:01:22]             └-> should return a 400 when request event list contains action types that are not allowed for acknowledgement
[00:01:22]               └-> "before each" hook: global before each
[00:01:22]               │ proc [kibana]   log   [13:24:48.977] [error][fleet][plugins] ACTION not allowed for acknowledgment only ACTION_RESULT
[00:01:22]               └- ✓ pass  (42ms) "Fleet Endpoints fleet_agents_acks should return a 400 when request event list contains action types that are not allowed for acknowledgement"
[00:01:22]             └-> ack upgrade should update fleet-agent SO
[00:01:22]               └-> "before each" hook: global before each
[00:01:23]               │ proc [kibana]   log   [13:24:49.887] [error][fleet][plugins] [fleet-agents:agent1]: version conflict, required seqNo [14], primary term [1]. current document has seqNo [20] and primary term [1]: version_conflict_engine_exception
[00:01:23]               └- ✖ fail: Fleet Endpoints fleet_agents_acks ack upgrade should update fleet-agent SO
[00:01:23]               │      Error: expected 200 "OK", got 409 "Conflict"
[00:01:23]               │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:01:23]               │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:01:23]               │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:01:23]               │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:01:23]               │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:01:23]               │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:01:23]               │       at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:01:23]               │       at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:01:23]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:23]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:01:23]               │ 
[00:01:23]               │ 

Stack Trace

Error: expected 200 "OK", got 409 "Conflict"
    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/supertest/node_modules/superagent/lib/node/index.js:718:3)
    at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
    at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
transform 1.0MB 1.0MB +1.4KB

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

@darnautov darnautov merged commit 0a441fc into elastic:7.11 Jan 12, 2021
@darnautov darnautov deleted the backport/7.11/pr-87858 branch January 12, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants