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

[CI] Pipeline refactoring #56447

Merged
merged 19 commits into from
Mar 2, 2020

Conversation

brianseeders
Copy link
Contributor

@brianseeders brianseeders commented Jan 30, 2020

Mostly trying to make terminology, etc less confusing, more consistent, and easier to follow. Open to suggestions for changes. Also just getting rid of some cruft that has accumulated since launch of pipelines.

worker = a jenkins agent / gobld worker, with some bootstrapping/setup depending on the worker type
process = something that runs on a worker, probably in parallel (e.g. ossCiGroupProcess)

Also fixes a few small things:

  • JOB env var not getting set for non-ciGroup functional test suites (e.g. firefoxSmoke)
  • catchError {} should ignore job aborts in almost all cases, this should hopefully make it easier to abort jobs on the first try

I have also been testing this with the flaky-test-suite-runner job and on my Jenkins sandbox with the ES snapshot jobs, and so far so good.

@brianseeders brianseeders added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Jan 30, 2020
@brianseeders brianseeders changed the title Pipeline refactoring [CI] Pipeline refactoring Jan 30, 2020
@brianseeders
Copy link
Contributor Author

@spalger particularly interested in hearing from you about whether or not this seems to make things clearer without re-writing everything, since you've probably looked at the Pipeline code the most

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders brianseeders marked this pull request as ready for review February 7, 2020 21:34
@brianseeders brianseeders requested a review from a team as a code owner February 7, 2020 21:34
def esPort = "61${workerNumber}2"
def esTransportPort = "61${workerNumber}3"
def functionalTestProcess(String name, Closure closure) {
return { processNumber ->
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

I don't have a strong opinion on the refactoring, but the changes LGTM. The build information in jenkins looks the same, code changes look good.

Should the es snapshot run the same timeout as kibana? or is it minus the accessibility test time?

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders
Copy link
Contributor Author

Should the es snapshot run the same timeout as kibana? or is it minus the accessibility test time?

The ES snapshot job is a little shorter than the main pipeline job just because the main job has flaky test retries turned on (which can increase the overall build time, in the worst case, but usually doesn't), and the snapshot job currently does not.

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_discover·js.discover app discover test "before all" hook in "discover test"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:45]         └-: discover app
[00:01:45]           └-> "before all" hook
[00:01:45]           └-> "before all" hook
[00:04:59]             └-> "after all" hook: unloadMakelogs
[00:04:59]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=1/5)
[00:04:59]               │ERROR [migrate saved objects] request failed (attempt=2/5)
[00:05:00]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=2/5)
[00:05:01]               │ERROR [migrate saved objects] request failed (attempt=3/5)
[00:05:02]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=3/5)
[00:05:04]               │ERROR [migrate saved objects] request failed (attempt=4/5)
[00:05:05]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=4/5)
[00:05:07]               │ERROR browser[SEVERE] http://localhost:6161/api/ui_metric/report - Failed to load resource: net::ERR_CONNECTION_REFUSED
[00:05:08]               │ERROR [migrate saved objects] request failed (attempt=5/5)
[00:05:08]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app discover test _after all_ hook.png"
[00:05:09]               │ info Current URL is: http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-20T08:00:00.000Z%27,to:%272015-09-21T08:00:00.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:05:09]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app discover test _after all_ hook.html
[00:05:09]               └- ✖ fail: "discover app discover test "before all" hook in "discover test""
[00:05:09]               │
[00:04:58]           └-: discover test
[00:04:58]             └-> "before all" hook
[00:04:58]             └-> "before all" hook
[00:04:58]               │ debg load kibana index with default index pattern
[00:04:58]               │ info [discover] Loading "mappings.json"
[00:04:58]               │ info [discover] Loading "data.json.gz"
[00:04:58]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana_2/yHERTfDkR_G6IYhM8qs9yA] deleting index
[00:04:58]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana_1/VhkfEFowRaqWt6IkaJqudA] deleting index
[00:04:58]               │ info [discover] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:58]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:58]               │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:58]               │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][telemetry:telemetry]: routing [null]]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1176) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:676) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:58]               │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:58]               │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:58]               │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1583165273126553372][127.0.0.1:6163][indices:data/read/get[s]]
[00:04:58]               │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:58]               │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1685) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:905) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:174) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda$asyncShardOperation$0(TransportSingleShardAction.java:110) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:688) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	... 3 more
[00:04:58]               │ proc [kibana] internal/process/warning.js:153
[00:04:58]               │ proc [kibana]         throw warning;
[00:04:58]               │ proc [kibana]         ^
[00:04:58]               │ proc [kibana] 
[00:04:58]               │ proc [kibana] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[00:04:58]               │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:58]               │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:58]               │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:58]               │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:58]               │ info [discover] Created index ".kibana"
[00:04:58]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:58]               │ info [discover] Indexed 2 docs into ".kibana"
[00:04:58]               └- ✖ fail: "discover app discover test "before all" hook"
[00:04:58]               │
[00:04:58]               └-> "after all" hook
[00:04:58]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana/emOnyQrlT7WaEEM6j624mw] update_mapping [_doc]
[00:04:58]                 │ debg Migrating saved objects
[00:04:58]                 │ERROR [migrate saved objects] request failed (attempt=1/5)

Stack Trace

{ DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:111:13)
    at emitWarning (internal/process/promises.js:104:3)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34)
  name: 'DeprecationWarning',
  code: 'DEP0018',
  uncaught: true,
  multiple:
   [ Error: [migrate saved objects] request failed (attempt=5/5) -- and ran out of retries
         at KbnClientRequester.request (packages/kbn-dev-utils/target/kbn_client/kbn_client_requester.js:99:23)
         at process._tickCallback (internal/process/next_tick.js:68:7) ] }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_discover·js.discover app discover test "before all" hook in "discover test"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:45]         └-: discover app
[00:01:45]           └-> "before all" hook
[00:01:45]           └-> "before all" hook
[00:04:59]             └-> "after all" hook: unloadMakelogs
[00:04:59]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=1/5)
[00:04:59]               │ERROR [migrate saved objects] request failed (attempt=2/5)
[00:05:00]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=2/5)
[00:05:01]               │ERROR [migrate saved objects] request failed (attempt=3/5)
[00:05:02]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=3/5)
[00:05:04]               │ERROR [migrate saved objects] request failed (attempt=4/5)
[00:05:05]               │ERROR [GET http://elastic:changeme@localhost:6161/api/status] request failed (attempt=4/5)
[00:05:07]               │ERROR browser[SEVERE] http://localhost:6161/api/ui_metric/report - Failed to load resource: net::ERR_CONNECTION_REFUSED
[00:05:08]               │ERROR [migrate saved objects] request failed (attempt=5/5)
[00:05:08]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app discover test _after all_ hook.png"
[00:05:09]               │ info Current URL is: http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-20T08:00:00.000Z%27,to:%272015-09-21T08:00:00.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:05:09]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app discover test _after all_ hook.html
[00:05:09]               └- ✖ fail: "discover app discover test "before all" hook in "discover test""
[00:05:09]               │
[00:04:58]           └-: discover test
[00:04:58]             └-> "before all" hook
[00:04:58]             └-> "before all" hook
[00:04:58]               │ debg load kibana index with default index pattern
[00:04:58]               │ info [discover] Loading "mappings.json"
[00:04:58]               │ info [discover] Loading "data.json.gz"
[00:04:58]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana_2/yHERTfDkR_G6IYhM8qs9yA] deleting index
[00:04:58]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana_1/VhkfEFowRaqWt6IkaJqudA] deleting index
[00:04:58]               │ info [discover] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:58]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:58]               │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:58]               │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][telemetry:telemetry]: routing [null]]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:224) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:210) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:266) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1176) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:676) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:58]               │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:58]               │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:58]               │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1583165273126553372][127.0.0.1:6163][indices:data/read/get[s]]
[00:04:58]               │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:58]               │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1685) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:905) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:174) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda$asyncShardOperation$0(TransportSingleShardAction.java:110) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:688) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:58]               │      	... 3 more
[00:04:58]               │ proc [kibana] internal/process/warning.js:153
[00:04:58]               │ proc [kibana]         throw warning;
[00:04:58]               │ proc [kibana]         ^
[00:04:58]               │ proc [kibana] 
[00:04:58]               │ proc [kibana] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[00:04:58]               │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:58]               │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:58]               │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:58]               │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:58]               │ info [discover] Created index ".kibana"
[00:04:58]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:58]               │ info [discover] Indexed 2 docs into ".kibana"
[00:04:58]               └- ✖ fail: "discover app discover test "before all" hook"
[00:04:58]               │
[00:04:58]               └-> "after all" hook
[00:04:58]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583165273126553372] [.kibana/emOnyQrlT7WaEEM6j624mw] update_mapping [_doc]
[00:04:58]                 │ debg Migrating saved objects
[00:04:58]                 │ERROR [migrate saved objects] request failed (attempt=1/5)

Stack Trace

Error: [migrate saved objects] request failed (attempt=5/5) -- and ran out of retries
    at KbnClientRequester.request (packages/kbn-dev-utils/target/kbn_client/kbn_client_requester.js:99:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)

History

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

@@ -1,5 +1,5 @@
def print() {
try {
catchError(catchInterruptions: false, buildResult: null) {
Copy link
Member

Choose a reason for hiding this comment

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

Nice, reminds me of:

export const tryCatch = f => {
	try {
		return Right(f());
	} catch (e) {
		return Left(e);
	}
};

@brianseeders brianseeders added v7.6.0 v7.7.0 v7.6.1 Feature:CI Continuous integration Team:Operations Team label for Operations Team and removed v7.6.0 labels Mar 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@brianseeders brianseeders merged commit c90cfe2 into elastic:master Mar 2, 2020
@brianseeders brianseeders deleted the pipeline-refactoring branch March 2, 2020 20:04
brianseeders added a commit to brianseeders/kibana that referenced this pull request Mar 2, 2020
brianseeders added a commit to brianseeders/kibana that referenced this pull request Mar 2, 2020
brianseeders added a commit that referenced this pull request Mar 2, 2020
brianseeders added a commit that referenced this pull request Mar 2, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2020
* master: (26 commits)
  [Endpoint] Alert Details Overview (elastic#58412)
  Service map language icons (elastic#58633)
  [SIEM] [Case] Comments to case view (elastic#58315)
  Remove appBasePath from docs + add mock for AppMountParameters (elastic#58775)
  [kbn/optimizer] fix ui/* url rewrites in dist (elastic#58627)
  Dashboard a11y tests (elastic#58122)
  Downgrade "setting up plugin" log to debug (elastic#58776)
  [CI] Pipeline refactoring (elastic#56447)
  [Advanced Settings] Fix a11y of unsaved indicator (elastic#58511)
  put params into short url instead of behind it (elastic#58846)
  show timepicker in timelion and tsvb (elastic#58857)
  improve graph missing workspace error message (elastic#58876)
  [Maps] direct Discover "visualize" to open Maps application (elastic#58549)
  Disallow duplicate percentiles (elastic#57444) (elastic#58299)
  removing references to visTypes uiExports (elastic#58337)
  [SIEM] Default the Timeline events filter to show All events (elastic#58953)
  [Remote clusters] Add indexManagement as required plugin (elastic#58915)
  [DOCS] Rework of main get started page (elastic#58260)
  [Endpoint] [Tests] fixes elastic#57946 flaky endpoint policy list test (elastic#58348)
  [Endpoint] add resolver middleware (elastic#58288)
  ...
dgieselaar pushed a commit to dgieselaar/kibana that referenced this pull request Mar 3, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2020
* master:
  Dashboard a11y tests (elastic#58122)
  Downgrade "setting up plugin" log to debug (elastic#58776)
  [CI] Pipeline refactoring (elastic#56447)
  [Advanced Settings] Fix a11y of unsaved indicator (elastic#58511)
  put params into short url instead of behind it (elastic#58846)
  show timepicker in timelion and tsvb (elastic#58857)
  improve graph missing workspace error message (elastic#58876)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:CI Continuous integration release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.6.1 v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants