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] [Asset Management] Agent picker follow up (#97357) #97389

Merged
merged 1 commit into from
Apr 17, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/lens/existing_fields·ts.apis Lens existing_fields apis "before all" hook in "existing_fields apis"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:07:42]           └-: Lens
[00:07:42]             └-> "before all" hook in "Lens"
[00:07:42]             └-: existing_fields apis
[00:07:42]               └-> "before all" hook in "existing_fields apis"
[00:07:42]               └-> "before all" hook in "existing_fields apis"
[00:07:42]                 │ info [logstash_functional] Loading "mappings.json"
[00:07:42]                 │ info [logstash_functional] Loading "data.json.gz"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:07:43]                 │ info java.lang.OutOfMemoryError: Java heap space
[00:07:43]                 │      Dumping heap to data/java_pid131621.hprof ...
[00:07:44]                 │ info Heap dump file created [715499458 bytes in 1.622 secs]
[00:07:44]                 │ info [o.e.b.ElasticsearchUncaughtExceptionHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207] fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207][system_read][T#1]], exiting
[00:07:44]                 │      java.lang.OutOfMemoryError: Java heap space
[00:07:44]                 │      	at java.util.Arrays.copyOfRange(Arrays.java:3821) ~[?:?]
[00:07:44]                 │      	at java.lang.String.<init>(String.java:397) ~[?:?]
[00:07:44]                 │      	at java.util.Base64$Encoder.encodeToString(Base64.java:346) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.encodeResponse(AsyncTaskIndexService.java:478) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:215) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.access$000(TransportSubmitAsyncSearchAction.java:50) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7454/0x0000000801b93220.accept(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.access$500(AsyncSearchTask.java:51) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5206/0x0000000801793b90.accept(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.lambda$innerRun$1(FetchSearchPhase.java:101) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$$Lambda$6747/0x0000000801aa4800.run(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.countDown(CountedCollector.java:40) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector$$Lambda$7344/0x0000000801b98000.run(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.search.ArraySearchPhaseResults.consumeResult(ArraySearchPhaseResults.java:35) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.onResult(CountedCollector.java:48) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:171) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:166) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.SearchActionListener.onResponse(SearchActionListener.java:34) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │ info [visualize/default] Loading "mappings.json"
[00:07:44]                 │ERROR fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207][system_read][T#1]], exiting
[00:07:44]                 │      java.lang.OutOfMemoryError: Java heap space
[00:07:44]                 │      	at java.base/java.util.Arrays.copyOfRange(Arrays.java:3821)
[00:07:44]                 │      	at java.base/java.lang.String.<init>(String.java:397)
[00:07:44]                 │      	at java.base/java.util.Base64$Encoder.encodeToString(Base64.java:346)
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.encodeResponse(AsyncTaskIndexService.java:478)
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:215)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.access$000(TransportSubmitAsyncSearchAction.java:50)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7454/0x0000000801b93220.accept(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.access$500(AsyncSearchTask.java:51)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365)
[00:07:44]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31)
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163)
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5206/0x0000000801793b90.accept(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217)
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657)
[00:07:44]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.lambda$innerRun$1(FetchSearchPhase.java:101)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$$Lambda$6747/0x0000000801aa4800.run(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.countDown(CountedCollector.java:40)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector$$Lambda$7344/0x0000000801b98000.run(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.search.ArraySearchPhaseResults.consumeResult(ArraySearchPhaseResults.java:35)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.onResult(CountedCollector.java:48)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:171)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:166)
[00:07:44]                 │      	at org.elasticsearch.action.search.SearchActionListener.onResponse(SearchActionListener.java:34)
[00:07:44]                 │      
[00:07:44]                 │ info [visualize/default] Loading "data.json"
[00:07:45]                 └- ✖ fail: apis Lens existing_fields apis "before all" hook in "existing_fields apis"
[00:07:45]                 │      ConnectionError: connect ECONNREFUSED 127.0.0.1:6142
[00:07:45]                 │       at ClientRequest.onError (/dev/shm/workspace/parallel/4/kibana/node_modules/@elastic/elasticsearch/lib/Connection.js:115:16)
[00:07:45]                 │       at Socket.socketErrorListener (_http_client.js:469:9)
[00:07:45]                 │       at emitErrorNT (internal/streams/destroy.js:106:8)
[00:07:45]                 │       at emitErrorCloseNT (internal/streams/destroy.js:74:3)
[00:07:45]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:07:45]                 │ 
[00:07:45]                 │ 

Stack Trace

ConnectionError: connect ECONNREFUSED 127.0.0.1:6142
    at ClientRequest.onError (/dev/shm/workspace/parallel/4/kibana/node_modules/@elastic/elasticsearch/lib/Connection.js:115:16)
    at Socket.socketErrorListener (_http_client.js:469:9)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  meta: {
    body: null,
    statusCode: null,
    headers: null,
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 3,
      aborted: false
    }
  }
}

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/lens/existing_fields·ts.apis Lens existing_fields apis "after all" hook in "existing_fields apis"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook in "apis"
[00:07:42]           └-: Lens
[00:07:42]             └-> "before all" hook in "Lens"
[00:07:42]             └-: existing_fields apis
[00:07:42]               └-> "before all" hook in "existing_fields apis"
[00:07:42]               └-> "before all" hook in "existing_fields apis"
[00:07:42]                 │ info [logstash_functional] Loading "mappings.json"
[00:07:42]                 │ info [logstash_functional] Loading "data.json.gz"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:07:42]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:07:43]                 │ info java.lang.OutOfMemoryError: Java heap space
[00:07:43]                 │      Dumping heap to data/java_pid131621.hprof ...
[00:07:44]                 │ info Heap dump file created [715499458 bytes in 1.622 secs]
[00:07:44]                 │ info [o.e.b.ElasticsearchUncaughtExceptionHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207] fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207][system_read][T#1]], exiting
[00:07:44]                 │      java.lang.OutOfMemoryError: Java heap space
[00:07:44]                 │      	at java.util.Arrays.copyOfRange(Arrays.java:3821) ~[?:?]
[00:07:44]                 │      	at java.lang.String.<init>(String.java:397) ~[?:?]
[00:07:44]                 │      	at java.util.Base64$Encoder.encodeToString(Base64.java:346) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.encodeResponse(AsyncTaskIndexService.java:478) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:215) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.access$000(TransportSubmitAsyncSearchAction.java:50) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7454/0x0000000801b93220.accept(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.access$500(AsyncSearchTask.java:51) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5206/0x0000000801793b90.accept(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.lambda$innerRun$1(FetchSearchPhase.java:101) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$$Lambda$6747/0x0000000801aa4800.run(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.countDown(CountedCollector.java:40) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector$$Lambda$7344/0x0000000801b98000.run(Unknown Source) ~[?:?]
[00:07:44]                 │      	at org.elasticsearch.action.search.ArraySearchPhaseResults.consumeResult(ArraySearchPhaseResults.java:35) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.onResult(CountedCollector.java:48) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:171) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:166) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │      	at org.elasticsearch.action.search.SearchActionListener.onResponse(SearchActionListener.java:34) ~[elasticsearch-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]
[00:07:44]                 │ info [visualize/default] Loading "mappings.json"
[00:07:44]                 │ERROR fatal error in thread [elasticsearch[kibana-ci-immutable-ubuntu-16-tests-xxl-1618656438195078207][system_read][T#1]], exiting
[00:07:44]                 │      java.lang.OutOfMemoryError: Java heap space
[00:07:44]                 │      	at java.base/java.util.Arrays.copyOfRange(Arrays.java:3821)
[00:07:44]                 │      	at java.base/java.lang.String.<init>(String.java:397)
[00:07:44]                 │      	at java.base/java.util.Base64$Encoder.encodeToString(Base64.java:346)
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.encodeResponse(AsyncTaskIndexService.java:478)
[00:07:44]                 │      	at org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:215)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.onFinalResponse(TransportSubmitAsyncSearchAction.java:178)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction.access$000(TransportSubmitAsyncSearchAction.java:50)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1.lambda$onResponse$1(TransportSubmitAsyncSearchAction.java:102)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.TransportSubmitAsyncSearchAction$1$1$$Lambda$7454/0x0000000801b93220.accept(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.executeCompletionListeners(AsyncSearchTask.java:308)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask.access$500(AsyncSearchTask.java:51)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:441)
[00:07:44]                 │      	at org.elasticsearch.xpack.search.AsyncSearchTask$Listener.onResponse(AsyncSearchTask.java:365)
[00:07:44]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31)
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.lambda$applyInternal$2(SecurityActionFilter.java:163)
[00:07:44]                 │      	at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter$$Lambda$5206/0x0000000801793b90.accept(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$DelegatingFailureActionListener.onResponse(ActionListener.java:217)
[00:07:44]                 │      	at org.elasticsearch.action.ActionListener$RunAfterActionListener.onResponse(ActionListener.java:339)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.sendSearchResponse(AbstractSearchAsyncAction.java:657)
[00:07:44]                 │      	at org.elasticsearch.action.search.ExpandSearchPhase.run(ExpandSearchPhase.java:109)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executePhase(AbstractSearchAsyncAction.java:424)
[00:07:44]                 │      	at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:418)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.moveToNextPhase(FetchSearchPhase.java:219)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase.lambda$innerRun$1(FetchSearchPhase.java:101)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$$Lambda$6747/0x0000000801aa4800.run(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.countDown(CountedCollector.java:40)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector$$Lambda$7344/0x0000000801b98000.run(Unknown Source)
[00:07:44]                 │      	at org.elasticsearch.action.search.ArraySearchPhaseResults.consumeResult(ArraySearchPhaseResults.java:35)
[00:07:44]                 │      	at org.elasticsearch.action.search.CountedCollector.onResult(CountedCollector.java:48)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:171)
[00:07:44]                 │      	at org.elasticsearch.action.search.FetchSearchPhase$2.innerOnResponse(FetchSearchPhase.java:166)
[00:07:44]                 │      	at org.elasticsearch.action.search.SearchActionListener.onResponse(SearchActionListener.java:34)
[00:07:44]                 │      
[00:07:44]                 │ info [visualize/default] Loading "data.json"
[00:07:45]                 └- ✖ fail: apis Lens existing_fields apis "before all" hook in "existing_fields apis"
[00:07:45]                 │      ConnectionError: connect ECONNREFUSED 127.0.0.1:6142
[00:07:45]                 │       at ClientRequest.onError (/dev/shm/workspace/parallel/4/kibana/node_modules/@elastic/elasticsearch/lib/Connection.js:115:16)
[00:07:45]                 │       at Socket.socketErrorListener (_http_client.js:469:9)
[00:07:45]                 │       at emitErrorNT (internal/streams/destroy.js:106:8)
[00:07:45]                 │       at emitErrorCloseNT (internal/streams/destroy.js:74:3)
[00:07:45]                 │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:07:45]                 │ 
[00:07:45]                 │ 
[00:07:45]                 └-> "after all" hook in "existing_fields apis"
[00:07:45]                   │ info [logstash_functional] Unloading indices from "mappings.json"
[00:07:45]                   └- ✖ fail: apis Lens existing_fields apis "after all" hook in "existing_fields apis"
[00:07:45]                   │      ConnectionError: connect ECONNREFUSED 127.0.0.1:6142
[00:07:45]                   │       at ClientRequest.onError (/dev/shm/workspace/parallel/4/kibana/node_modules/@elastic/elasticsearch/lib/Connection.js:115:16)
[00:07:45]                   │       at Socket.socketErrorListener (_http_client.js:469:9)
[00:07:45]                   │       at emitErrorNT (internal/streams/destroy.js:106:8)
[00:07:45]                   │       at emitErrorCloseNT (internal/streams/destroy.js:74:3)
[00:07:45]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:07:45]                   │ 
[00:07:45]                   │ 

Stack Trace

ConnectionError: connect ECONNREFUSED 127.0.0.1:6142
    at ClientRequest.onError (/dev/shm/workspace/parallel/4/kibana/node_modules/@elastic/elasticsearch/lib/Connection.js:115:16)
    at Socket.socketErrorListener (_http_client.js:469:9)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  meta: {
    body: null,
    statusCode: null,
    headers: null,
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 3,
      aborted: false
    }
  }
}

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
osquery 141 281 +140

Async chunks

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

id before after diff
osquery 769.7KB 905.7KB +136.0KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
osquery 11.1KB 11.2KB +68.0B

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

cc @lykkin

@kibanamachine kibanamachine merged commit b522c8c into elastic:7.x Apr 17, 2021
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