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.x] [APM] Add name to Observer type (#72110) #72133

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

smith
Copy link
Contributor

@smith smith commented Jul 16, 2020

Backports the following commits to 7.x:

Backport elastic#72078 is failing because of the type check because `observer.name` is not defined. Not sure why this wasn't a problem on master, but adding it here so I can include it.
@smith smith added the backport label Jul 16, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/fleet/unenroll_agent·ts.apis Fleet Endpoints fleet_unenroll_agent allow to unenroll using a list of ids

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:07:32]           └-: Fleet Endpoints
[00:07:32]             └-> "before all" hook
[00:07:35]             └-: fleet_unenroll_agent
[00:07:35]               └-> "before all" hook
[00:07:35]               └-> "before all" hook
[00:07:35]                 │ info [fleet/agents] Loading "mappings.json"
[00:07:35]                 │ info [fleet/agents] Loading "data.json"
[00:07:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_1/7rScpFfiTqihs3XZ3ZtW5w] deleting index
[00:07:35]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/b7BTfA3yS56kqWsOfmPIBg] deleting index
[00:07:35]                 │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:07:35]                 │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] path: /.kibana/_doc/config%3A7.10.0-SNAPSHOT, params: {index=.kibana, id=config:7.10.0-SNAPSHOT}
[00:07:35]                 │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][_doc][config:7.10.0-SNAPSHOT]: routing [null]]
[00:07:35]                 │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.access$1100(TransportSingleShardAction.java:136) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1172) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1281) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1255) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:61) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler$1.onFailure(SecurityServerTransportInterceptor.java:248) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.lambda$messageReceived$0(SecurityServerTransportInterceptor.java:306) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$15(AuthorizationService.java:353) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.BulkShardRequestInterceptor.intercept(BulkShardRequestInterceptor.java:75) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:348) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.ResizeRequestInterceptor.intercept(ResizeRequestInterceptor.java:86) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:348) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.FieldAndDocumentLevelSecurityRequestInterceptor.intercept(FieldAndDocumentLevelSecurityRequestInterceptor.java:65) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.UpdateRequestInterceptor.intercept(UpdateRequestInterceptor.java:23) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:348) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.FieldAndDocumentLevelSecurityRequestInterceptor.intercept(FieldAndDocumentLevelSecurityRequestInterceptor.java:65) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.SearchRequestInterceptor.intercept(SearchRequestInterceptor.java:19) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:348) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1511) [?:?]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.IndicesAliasesRequestInterceptor.intercept(IndicesAliasesRequestInterceptor.java:106) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.runRequestInterceptors(AuthorizationService.java:354) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.handleIndexActionAuthorizationResult(AuthorizationService.java:331) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$9(AuthorizationService.java:272) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:629) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:604) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:43) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.buildIndicesAccessControl(RBACEngine.java:528) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.lambda$authorizeIndexAction$3(RBACEngine.java:308) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.lambda$getAsync$0(AuthorizationService.java:666) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.resolveIndexNames(AuthorizationService.java:567) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$6(AuthorizationService.java:260) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.lambda$getAsync$0(AuthorizationService.java:666) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.loadAuthorizedIndices(RBACEngine.java:339) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$5(AuthorizationService.java:256) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.0-SNAPSHOT]
[00:07:35]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.getAsync(AuthorizationService.java:664) [x-pack-security-7.10.0-SNAPSHOT.jar:7.10.
[00:07:35]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:07:35]                 │ info [fleet/agents] Created index ".kibana_1"
[00:07:35]                 │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:07:35]                 │ info [fleet/agents] Indexed 12 docs into ".kibana"
[00:07:35]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_1/UikixXoSQ3CPFhcyp3b_cA] update_mapping [_doc]
[00:07:35]                 │ debg Migrating saved objects
[00:07:36]                 │ proc [kibana]   log   [20:00:18.184] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:07:36]                 │ proc [kibana]   log   [20:00:18.187] [info][savedobjects-service] Creating index .kibana_2.
[00:07:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:07:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] updating number_of_replicas to [0] for indices [.kibana_2]
[00:07:36]                 │ proc [kibana]   log   [20:00:18.261] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:07:36]                 │ proc [kibana]   log   [20:00:18.272] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:07:36]                 │ proc [kibana]   log   [20:00:18.315] [info][savedobjects-service] Finished in 130ms.
[00:07:36]               └-> "before all" hook
[00:07:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/7FNYtqlnSyuWiByc0s2bnQ] update_mapping [_doc]
[00:07:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:07:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [events-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:07:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:07:37]                 │ proc [kibana]  error  [20:00:19.263] [warning][process] UnhandledPromiseRejectionWarning: Error: [epm-packages:endpoint]: version conflict, required seqNo [15], primary term [1]. current document has seqNo [16] and primary term [1]: [version_conflict_engine_exception] [epm-packages:endpoint]: version conflict, required seqNo [15], primary term [1]. current document has seqNo [16] and primary term [1], with { index_uuid="7FNYtqlnSyuWiByc0s2bnQ" & shard="0" & index=".kibana_2" }
[00:07:37]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:07:37]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:07:37]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:07:37]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/lodash/lodash.js:4929:19)
[00:07:37]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:07:37]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:07:37]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:07:37]                 │ proc [kibana]     at emitWarning (internal/process/promises.js:97:15)
[00:07:37]                 │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:07:37]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:07:37]                 │ proc [kibana]  error  [20:00:19.265] [warning][process] Error: [epm-packages:endpoint]: version conflict, required seqNo [15], primary term [1]. current document has seqNo [16] and primary term [1]: [version_conflict_engine_exception] [epm-packages:endpoint]: version conflict, required seqNo [15], primary term [1]. current document has seqNo [16] and primary term [1], with { index_uuid="7FNYtqlnSyuWiByc0s2bnQ" & shard="0" & index=".kibana_2" }
[00:07:37]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:07:37]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:07:37]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:07:37]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/lodash/lodash.js:4929:19)
[00:07:37]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:07:37]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:07:37]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:07:37]                 │ proc [kibana]  error  [20:00:19.276] [warning][process] PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 111)
[00:07:37]                 │ proc [kibana]     at handledRejection (internal/process/promises.js:71:23)
[00:07:37]                 │ proc [kibana]     at promiseRejectHandler (internal/process/promises.js:36:14)
[00:07:37]                 │ proc [kibana]     at Promise.then (<anonymous>)
[00:07:37]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:07:37]               └-> allow to unenroll using a list of ids
[00:07:37]                 └-> "before each" hook: global before each
[00:07:37]                 └-> "before each" hook
[00:07:37]                   │ proc [kibana]  error  [20:00:19.266]  Error: Internal Server Error
[00:07:37]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:132:19)
[00:07:37]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:86:19)
[00:07:37]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:81:17)
[00:07:37]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:162:34)
[00:07:37]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:07:37]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/7FNYtqlnSyuWiByc0s2bnQ] update_mapping [_doc]
[00:07:38]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/7FNYtqlnSyuWiByc0s2bnQ] update_mapping [_doc]
[00:07:38]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/7FNYtqlnSyuWiByc0s2bnQ] update_mapping [_doc]
[00:07:38]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1594926026992162253] [.kibana_2/7FNYtqlnSyuWiByc0s2bnQ] update_mapping [_doc]
[00:07:39]                 └- ✖ fail: apis Fleet Endpoints fleet_unenroll_agent allow to unenroll using a list of ids
[00:07:39]                 │      Error: expected 200 "OK", got 500 "Internal Server Error"
[00:07:39]                 │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:07:39]                 │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:07:39]                 │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:07:39]                 │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:07:39]                 │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:07:39]                 │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
[00:07:39]                 │       at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
[00:07:39]                 │       at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:07:39]                 │       at endReadableNT (_stream_readable.js:1145:12)
[00:07:39]                 │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:07:39]                 │ 
[00:07:39]                 │ 

Stack Trace

Error: expected 200 "OK", got 500 "Internal Server Error"
    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)

Build metrics

✅ unchanged

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants