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

Further improve type checking for actions and triggers #58765

Merged
merged 13 commits into from
Mar 4, 2020

Conversation

stacey-gammon
Copy link
Contributor

This PR will now provide warnings for attaching actions to triggers when required context is missing.

Screen Shot 2020-02-27 at 11 53 34 AM

Builds on top of #58657

@stacey-gammon stacey-gammon requested a review from a team February 27, 2020 19:22
@stacey-gammon stacey-gammon requested a review from a team as a code owner February 27, 2020 19:22
@botelastic botelastic bot added the Feature:Drilldowns Embeddable panel Drilldowns label Feb 27, 2020
@stacey-gammon stacey-gammon added chore release_note:skip Skip the PR/issue when compiling release notes Team:AppArch labels Feb 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@stacey-gammon stacey-gammon force-pushed the 2020-02-26-action-types-2 branch 5 times, most recently from 056d18b to fad8f45 Compare February 28, 2020 17:14
setConfirmationText(
`You've successfully added a new action: ${dynamicAction.getDisplayName(
{}
undefined
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunate but typescript is requiring me to pass undefined explicitly

id: 'FOO',
type: 'FOO',
type: 'FOO' as ActionType,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you don't want to do the declare module thing, like in tests, this casting as ActionType works.

import { UiComponent } from 'src/plugins/kibana_utils/common';
import { ActionType, ActionContextMapping } from '../types';

export interface ActionDefinition<T extends ActionType> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Very duplicative of Action right now, but I'm using it in createAction function, and I know that the next PR will use ActionDefinition instead.

@stacey-gammon
Copy link
Contributor Author

hit #58941 looks like. Maybe red on master?

Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

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

Noticed something weird: Clicking on the "Make phone call action" from the "Row Actions" button, re-opens the menu at a new location, instead of showing the alert.

Also, if you click on the "Full screen" option in the table, the UI gets messed up and the only way to restore it, is by refreshing.

Other than, tested creating an addition action, which was very easy.
The PR itself is a text book example of Declaration Merging and I'm glad I got to review it!
Assuming those two issues are addressed \ handled in a follow PR, LGTM

UserContext,
CountryContext,
PhoneContext,
EDIT_USER_ACTION,
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you consider turning ACTION_ into a prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It creates a pretty big commit to add to this PR, but sure.

src/plugins/embeddable/public/bootstrap.ts Outdated Show resolved Hide resolved
@@ -36,10 +37,12 @@ const ReactMenuItem: React.FC = () => {

const UiMenuItem = reactToUiComponent(ReactMenuItem);

export const HELLO_WORLD_ACTION_ID = 'HELLO_WORLD_ACTION_ID';
export const HELLO_WORLD_ACTION_ID = 'HELLO_WORLD_ACTION_ID' as ActionType;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this fully equivalent to the module declaration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it should be discouraged in a real situation, it's just a hack to get typescript to work. The context shape is just then the base type.

Screen Shot 2020-03-02 at 9 53 43 AM

The problem with the jest tests like this is that I'm pretty sure I can't have two declare modules in the same plugin, one will override the other, and I was getting errors (and I def don't want to add this type mapping at the top level in prod code). So, real code should do the right thing, this is just for mocks/jest tests. I can add a comment on each of the places I am casting:

// Casting to ActionType is a hack - in a real situation use
// declare module and add this id to ActionContextMapping.

thoughts?

examples/ui_actions_explorer/public/actions/actions.tsx Outdated Show resolved Hide resolved
examples/ui_actions_explorer/public/plugin.tsx Outdated Show resolved Hide resolved
deps.uiActions.attachAction(PHONE_TRIGGER, CALL_PHONE_NUMBER_ACTION);
deps.uiActions.attachAction(PHONE_TRIGGER, SHOWCASE_PLUGGABILITY_ACTION);
deps.uiActions.attachAction(USER_TRIGGER, SHOWCASE_PLUGGABILITY_ACTION);
deps.uiActions.attachAction(COUNTRY_TRIGGER, viewInMapsAction);
Copy link
Contributor

@Dosant Dosant Mar 2, 2020

Choose a reason for hiding this comment

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

Here I tried to replace viewInMaps for showcasePluggability and typescript didn't complain.
I run node scripts/type_check --project examples/ui_actions_explorer/tsconfig.json to make sure it is not my IDE problem

I am not sure if this is expected

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is expected. showcasePluggability doesn't require any context so it can be attached to any trigger. It's okay to attach an action to a trigger that emits more than the action requires.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, this makes sense, thanks.

How about this example, I find it particularly weird:

I change it to:

deps.uiActions.attachAction(USER_TRIGGER, lookUpWeatherAction);

And see the ts error message. "can't assign string to Partial | undefined" which is great.

But then I went and changed UserContext from type Country = string; to type Country = {country: string}

And this no longer throws typescript error for me 🤔

deps.uiActions.attachAction(USER_TRIGGER, lookUpWeatherAction);

It seems that it should complain in this case. Not sure if this is me or the current types are not working well for matching between different object shapes because of Partial.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome catch! It was an issue with Partial. I'm honestly not sure why it works now, but it seems like requiring an object let me get rid of partial type and now it works. Strange, but when I tested, (I changed the trigger context shape to CountryContext & { extra: string }) it seems to work now:

Screen Shot 2020-03-02 at 4 27 50 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

Awesome! seems like working as expected 👍

type: TRAVEL_GUIDE_ACTION,
getIconType: () => 'popout',
getDisplayName: () => 'View travel guide',
execute: async ({ country }) => {
execute: async country => {
window.open(`https://www.worldtravelguide.net/?s=${country},`, '_blank');
},
});

export type CountryContext = string;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think will be better in this example to make all contexts into objects. And in general suggest it as best practice.

Right now from typescript perspective CountryContext and PhoneContext are the same: string. So we technically allowed to use country context where phone context is expected and other way around.

If we make it into {country: string} and {phone: string} it would be better and typescript won't allow to use one where other is expected.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, that's a good point. Plus makes it much easier to extend the interface without making breaking changes.

I can require it. It was originally required to be an object. What do you think? Require via typescript, or just encourage?

Copy link
Contributor

Choose a reason for hiding this comment

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

If it is not a big trouble to require it via typescript, I'd go for it!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turned out to help anyway with the ts issue you spotted, so, done!

@stacey-gammon
Copy link
Contributor Author

@lizozom

Clicking on the "Make phone call action" from the "Row Actions" button, re-opens the menu at a new location, instead of showing the alert.

yea, this is expected, though unfortunate. I have a comment where I created the action. We want to do something similar with having CLICK_DATA_ACTION emit APPLY_FILTER_ACTION in certain cases so we need to resolve this. I left it in like this so we can use it as a test for how to solve the problem. I'm not yet sure how to solve. Maybe by extending the API so that instead of execute fn, an action can implement a different fn that returns an array of new context/trigger ids? So it's more of an "adapter" than an action. Haven't thought through very much...

export const createPhoneUserAction = (getUiActionsApi: () => Promise<UiActionsStart>) =>
  createAction<typeof ACTION_PHONE_USER>({
    type: ACTION_PHONE_USER,
    getDisplayName: () => 'Call phone number',
    isCompatible: async ({ user }) => user.phone !== undefined,
    execute: async ({ user }) => {
      // One option - execute the more specific action directly.
      // makePhoneCallAction.execute({ phone: user.phone });

      // Another option - emit the trigger and automatically get *all* the actions attached
      // to the phone number trigger.
      // TODO: we need to figure out the best way to handle these nested actions however, since
      // we don't want multiple context menu's to pop up.
      if (user.phone !== undefined) {
        (await getUiActionsApi()).executeTriggerActions(PHONE_TRIGGER, { phone: user.phone });
      }
    },

Also, if you click on the "Full screen" option in the table, the UI gets messed up and the only way to restore it, is by refreshing.

This doesn't really have anything to do with ui actions, must have something to do with the new EUI table component. @chandlerprall - any ideas?

Before:

Screen Shot 2020-03-02 at 1 04 54 PM

After:

Screen Shot 2020-03-02 at 1 04 59 PM

@stacey-gammon
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook for "should return 200 when copying to multiple spaces"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:46]             └-: rbac user with all at space from the space_1 space
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> should return 200 when copying to space without conflicts or references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:46]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:46]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/lC1EAyCAT7aMRil9Vdladw] deleting index
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/9tiy_2rYQACD9ClDyvdfdw] deleting index
[00:04:46]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:46]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:46]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:46]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:46]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:46]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:46]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] update_mapping [_doc]
[00:04:46]                   │ debg Migrating saved objects
[00:04:47]                   │ proc [kibana]   log   [14:16:51.665] [info][savedobjects-service] Creating index .kibana_2.
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:47]                   │ proc [kibana]   log   [14:16:51.733] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:47]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26308 finished with response BulkByScrollResponse[took=32.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:47]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] deleting index
[00:04:47]                   │ proc [kibana]   log   [14:16:52.075] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ proc [kibana]   log   [14:16:52.243] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:48]                   │ proc [kibana]   log   [14:16:52.299] [info][savedobjects-service] Finished in 635ms.
[00:04:48]                 └- ✓ pass  (454ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:48]               └-> "after each" hook
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:48]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:48]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:48]               └-> should return 200 when copying to space without conflicts with references
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 └-> "before each" hook
[00:04:49]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:49]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/eO8fBwvTSpagtNsYRf7BHA] deleting index
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] deleting index
[00:04:49]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:49]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:49]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:49]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] update_mapping [_doc]
[00:04:49]                   │ debg Migrating saved objects
[00:04:50]                   │ proc [kibana]   log   [14:16:54.905] [info][savedobjects-service] Creating index .kibana_2.
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:50]                   │ proc [kibana]   log   [14:16:54.976] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:50]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26591 finished with response BulkByScrollResponse[took=26.5ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:51]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] deleting index
[00:04:51]                   │ proc [kibana]   log   [14:16:55.325] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ proc [kibana]   log   [14:16:55.496] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:51]                   │ proc [kibana]   log   [14:16:55.567] [info][savedobjects-service] Finished in 663ms.
[00:04:51]                 └- ✓ pass  (441ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:51]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:51]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:51]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:51]                 └-> "before each" hook: global before each
[00:04:51]                 └-> "before each" hook
[00:04:52]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:52]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] deleting index
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/50FYp9kVQ0qsLVfOlGrdEA] deleting index
[00:04:52]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:52]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:52]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:52]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:52]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:52]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:52]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] update_mapping [_doc]
[00:04:53]                   │ debg Migrating saved objects
[00:04:53]                   │ proc [kibana]   log   [14:16:58.121] [info][savedobjects-service] Creating index .kibana_2.
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:54]                   │ proc [kibana]   log   [14:16:58.190] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:54]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:54]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26908 finished with response BulkByScrollResponse[took=31.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:54]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] deleting index
[00:04:54]                   │ proc [kibana]   log   [14:16:58.537] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ proc [kibana]   log   [14:16:58.681] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:54]                   │ proc [kibana]   log   [14:16:58.730] [info][savedobjects-service] Finished in 611ms.
[00:04:55]                 └- ✓ pass  (500ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:55]               └-> "after each" hook
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:55]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:55]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:55]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:55]                 └-> "before each" hook: global before each
[00:04:55]                 └-> "before each" hook
[00:04:56]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:56]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/QCp_6uTBTreYDrL7vCddqw] deleting index
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] deleting index
[00:04:56]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:56]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:56]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:56]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:56]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:56]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:56]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] update_mapping [_doc]
[00:04:56]                   │ debg Migrating saved objects
[00:04:57]                   │ proc [kibana]   log   [14:17:01.340] [info][savedobjects-service] Creating index .kibana_2.
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:57]                   │ proc [kibana]   log   [14:17:01.413] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:57]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 27209 finished with response BulkByScrollResponse[took=20.9ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:57]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] deleting index
[00:04:57]                   │ proc [kibana]   log   [14:17:01.779] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ proc [kibana]   log   [14:17:01.926] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:57]                   │ proc [kibana]   log   [14:17:01.973] [info][savedobjects-service] Finished in 634ms.
[00:04:58]                 └- ✓ pass  (491ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts without overwriting"
[00:04:58]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to multiple spaces
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/P9scDdS5QKurqpuleB8Orw] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	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:59]                   │      	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:59]                   │      	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:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1176) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:676) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1583328836811357361][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1685) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:905) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:174) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	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:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:688) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ 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:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/x8XLgc28Rpy41D_1ooeK0Q] update_mapping [_doc]
[00:04:59]                   │ debg Migrating saved objects
[00:04:59]                   │ERROR [migrate saved objects] request failed (attempt=1/5)
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook"
[00:04:59]                   │
[00:04:59]                   └-> "after each" hook
[00:04:59]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:00]                     │ERROR [migrate saved objects] request failed (attempt=2/5)
[00:05:00]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:02]                     │ERROR [migrate saved objects] request failed (attempt=3/5)
[00:05:02]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=3/5)
[00:05:05]                     │ERROR [migrate saved objects] request failed (attempt=4/5)
[00:05:05]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=4/5)
[00:05:09]                     │ERROR [migrate saved objects] request failed (attempt=5/5)
[00:05:09]                     └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook for "should return 200 when copying to multiple spaces""
[00:05:09]                     │

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 (/dev/shm/workspace/kibana/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-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook for "should return 200 when copying to multiple spaces"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:46]             └-: rbac user with all at space from the space_1 space
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> should return 200 when copying to space without conflicts or references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:46]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:46]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/lC1EAyCAT7aMRil9Vdladw] deleting index
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/9tiy_2rYQACD9ClDyvdfdw] deleting index
[00:04:46]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:46]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:46]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:46]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:46]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:46]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:46]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] update_mapping [_doc]
[00:04:46]                   │ debg Migrating saved objects
[00:04:47]                   │ proc [kibana]   log   [14:16:51.665] [info][savedobjects-service] Creating index .kibana_2.
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:47]                   │ proc [kibana]   log   [14:16:51.733] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:47]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26308 finished with response BulkByScrollResponse[took=32.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:47]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] deleting index
[00:04:47]                   │ proc [kibana]   log   [14:16:52.075] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ proc [kibana]   log   [14:16:52.243] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:48]                   │ proc [kibana]   log   [14:16:52.299] [info][savedobjects-service] Finished in 635ms.
[00:04:48]                 └- ✓ pass  (454ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:48]               └-> "after each" hook
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:48]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:48]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:48]               └-> should return 200 when copying to space without conflicts with references
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 └-> "before each" hook
[00:04:49]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:49]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/eO8fBwvTSpagtNsYRf7BHA] deleting index
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] deleting index
[00:04:49]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:49]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:49]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:49]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] update_mapping [_doc]
[00:04:49]                   │ debg Migrating saved objects
[00:04:50]                   │ proc [kibana]   log   [14:16:54.905] [info][savedobjects-service] Creating index .kibana_2.
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:50]                   │ proc [kibana]   log   [14:16:54.976] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:50]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26591 finished with response BulkByScrollResponse[took=26.5ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:51]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] deleting index
[00:04:51]                   │ proc [kibana]   log   [14:16:55.325] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ proc [kibana]   log   [14:16:55.496] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:51]                   │ proc [kibana]   log   [14:16:55.567] [info][savedobjects-service] Finished in 663ms.
[00:04:51]                 └- ✓ pass  (441ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:51]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:51]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:51]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:51]                 └-> "before each" hook: global before each
[00:04:51]                 └-> "before each" hook
[00:04:52]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:52]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] deleting index
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/50FYp9kVQ0qsLVfOlGrdEA] deleting index
[00:04:52]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:52]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:52]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:52]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:52]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:52]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:52]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] update_mapping [_doc]
[00:04:53]                   │ debg Migrating saved objects
[00:04:53]                   │ proc [kibana]   log   [14:16:58.121] [info][savedobjects-service] Creating index .kibana_2.
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:54]                   │ proc [kibana]   log   [14:16:58.190] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:54]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:54]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26908 finished with response BulkByScrollResponse[took=31.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:54]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] deleting index
[00:04:54]                   │ proc [kibana]   log   [14:16:58.537] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ proc [kibana]   log   [14:16:58.681] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:54]                   │ proc [kibana]   log   [14:16:58.730] [info][savedobjects-service] Finished in 611ms.
[00:04:55]                 └- ✓ pass  (500ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:55]               └-> "after each" hook
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:55]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:55]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:55]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:55]                 └-> "before each" hook: global before each
[00:04:55]                 └-> "before each" hook
[00:04:56]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:56]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/QCp_6uTBTreYDrL7vCddqw] deleting index
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] deleting index
[00:04:56]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:56]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:56]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:56]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:56]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:56]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:56]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] update_mapping [_doc]
[00:04:56]                   │ debg Migrating saved objects
[00:04:57]                   │ proc [kibana]   log   [14:17:01.340] [info][savedobjects-service] Creating index .kibana_2.
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:57]                   │ proc [kibana]   log   [14:17:01.413] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:57]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 27209 finished with response BulkByScrollResponse[took=20.9ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:57]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] deleting index
[00:04:57]                   │ proc [kibana]   log   [14:17:01.779] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ proc [kibana]   log   [14:17:01.926] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:57]                   │ proc [kibana]   log   [14:17:01.973] [info][savedobjects-service] Finished in 634ms.
[00:04:58]                 └- ✓ pass  (491ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts without overwriting"
[00:04:58]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to multiple spaces
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/P9scDdS5QKurqpuleB8Orw] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	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:59]                   │      	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:59]                   │      	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:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1176) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:676) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1583328836811357361][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1685) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:905) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:174) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	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:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:688) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ 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:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/x8XLgc28Rpy41D_1ooeK0Q] update_mapping [_doc]
[00:04:59]                   │ debg Migrating saved objects
[00:04:59]                   │ERROR [migrate saved objects] request failed (attempt=1/5)
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook"
[00:04:59]                   │
[00:04:59]                   └-> "after each" hook
[00:04:59]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:00]                     │ERROR [migrate saved objects] request failed (attempt=2/5)
[00:05:00]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:02]                     │ERROR [migrate saved objects] request failed (attempt=3/5)
[00:05:02]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=3/5)
[00:05:05]                     │ERROR [migrate saved objects] request failed (attempt=4/5)
[00:05:05]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=4/5)
[00:05:09]                     │ERROR [migrate saved objects] request failed (attempt=5/5)
[00:05:09]                     └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook for "should return 200 when copying to multiple spaces""
[00:05:09]                     │

Stack Trace

Error: [migrate saved objects] request failed (attempt=5/5) -- and ran out of retries
    at KbnClientRequester.request (/dev/shm/workspace/kibana/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-xpack-agent / X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/copy_to_space·ts.spaces api with security copy to spaces rbac user with all at space from the space_1 space "after each" hook for "should return 200 when copying to multiple spaces"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: spaces api with security
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_read_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_2_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_default_space_saved_objects_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added role [kibana_rbac_space_1_saved_objects_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [not_a_kibana_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_dashboard_only_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_2_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_default_space_saved_objects_read_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_all_user]
[00:00:05]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_kibana_rbac_space_1_saved_objects_read_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_apm_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_admin]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_machine_learning_user]
[00:00:06]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] added user [a_monitoring_user]
[00:00:06]           └-: copy to spaces
[00:00:06]             └-> "before all" hook
[00:04:46]             └-: rbac user with all at space from the space_1 space
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> "before all" hook
[00:04:46]               └-> should return 200 when copying to space without conflicts or references
[00:04:46]                 └-> "before each" hook: global before each
[00:04:46]                 └-> "before each" hook
[00:04:46]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:46]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/lC1EAyCAT7aMRil9Vdladw] deleting index
[00:04:46]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/9tiy_2rYQACD9ClDyvdfdw] deleting index
[00:04:46]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:46]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:46]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:46]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:46]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:46]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:46]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] update_mapping [_doc]
[00:04:46]                   │ debg Migrating saved objects
[00:04:47]                   │ proc [kibana]   log   [14:16:51.665] [info][savedobjects-service] Creating index .kibana_2.
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:47]                   │ proc [kibana]   log   [14:16:51.733] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:47]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:47]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26308 finished with response BulkByScrollResponse[took=32.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:47]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/apVBaz2PSLyvocWGQybvEQ] deleting index
[00:04:47]                   │ proc [kibana]   log   [14:16:52.075] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:47]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] update_mapping [_doc]
[00:04:48]                   │ proc [kibana]   log   [14:16:52.243] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:48]                   │ proc [kibana]   log   [14:16:52.299] [info][savedobjects-service] Finished in 635ms.
[00:04:48]                 └- ✓ pass  (454ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts or references"
[00:04:48]               └-> "after each" hook
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:48]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:48]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:48]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:48]               └-> should return 200 when copying to space without conflicts with references
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 └-> "before each" hook
[00:04:49]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:49]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/eO8fBwvTSpagtNsYRf7BHA] deleting index
[00:04:49]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/3fDnILNoQuOHpbnrfI-CLg] deleting index
[00:04:49]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:49]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:49]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:49]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] update_mapping [_doc]
[00:04:49]                   │ debg Migrating saved objects
[00:04:50]                   │ proc [kibana]   log   [14:16:54.905] [info][savedobjects-service] Creating index .kibana_2.
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:50]                   │ proc [kibana]   log   [14:16:54.976] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:50]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:50]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:50]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26591 finished with response BulkByScrollResponse[took=26.5ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:51]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/VD0M0MbET-aBqT03b3WSKg] deleting index
[00:04:51]                   │ proc [kibana]   log   [14:16:55.325] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] update_mapping [_doc]
[00:04:51]                   │ proc [kibana]   log   [14:16:55.496] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:51]                   │ proc [kibana]   log   [14:16:55.567] [info][savedobjects-service] Finished in 663ms.
[00:04:51]                 └- ✓ pass  (441ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space without conflicts with references"
[00:04:51]               └-> "after each" hook
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:51]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:51]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:51]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:51]               └-> should return 200 when copying to space with conflicts when overwriting
[00:04:51]                 └-> "before each" hook: global before each
[00:04:51]                 └-> "before each" hook
[00:04:52]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:52]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/cpgGZO1rSmO0IQ9hC9ZWLw] deleting index
[00:04:52]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/50FYp9kVQ0qsLVfOlGrdEA] deleting index
[00:04:52]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:52]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:52]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:52]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:52]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:52]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:52]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] update_mapping [_doc]
[00:04:53]                   │ debg Migrating saved objects
[00:04:53]                   │ proc [kibana]   log   [14:16:58.121] [info][savedobjects-service] Creating index .kibana_2.
[00:04:53]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:53]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:54]                   │ proc [kibana]   log   [14:16:58.190] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:54]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:54]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:54]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 26908 finished with response BulkByScrollResponse[took=31.7ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:54]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/SVYRpmcfQCaev1KWAzks4Q] deleting index
[00:04:54]                   │ proc [kibana]   log   [14:16:58.537] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] update_mapping [_doc]
[00:04:54]                   │ proc [kibana]   log   [14:16:58.681] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:54]                   │ proc [kibana]   log   [14:16:58.730] [info][savedobjects-service] Finished in 611ms.
[00:04:55]                 └- ✓ pass  (500ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts when overwriting"
[00:04:55]               └-> "after each" hook
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:55]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:55]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:55]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:55]               └-> should return 200 when copying to space with conflicts without overwriting
[00:04:55]                 └-> "before each" hook: global before each
[00:04:55]                 └-> "before each" hook
[00:04:56]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:56]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/QCp_6uTBTreYDrL7vCddqw] deleting index
[00:04:56]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/RzQh4IbkTQCh6ZcU_B3qMQ] deleting index
[00:04:56]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:56]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:56]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:56]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:56]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:56]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:56]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] update_mapping [_doc]
[00:04:56]                   │ debg Migrating saved objects
[00:04:57]                   │ proc [kibana]   log   [14:17:01.340] [info][savedobjects-service] Creating index .kibana_2.
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:57]                   │ proc [kibana]   log   [14:17:01.413] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:57]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:57]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:57]                   │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] 27209 finished with response BulkByScrollResponse[took=20.9ms,timed_out=false,sliceId=null,updated=0,created=17,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:57]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/L-DIJkmZQgWiAZq9k6O5zQ] deleting index
[00:04:57]                   │ proc [kibana]   log   [14:17:01.779] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] update_mapping [_doc]
[00:04:57]                   │ proc [kibana]   log   [14:17:01.926] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:57]                   │ proc [kibana]   log   [14:17:01.973] [info][savedobjects-service] Finished in 634ms.
[00:04:58]                 └- ✓ pass  (491ms) "spaces api with security copy to spaces rbac user with all at space from the space_1 space should return 200 when copying to space with conflicts without overwriting"
[00:04:58]               └-> "after each" hook
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "mappings.json"
[00:04:58]                 │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:04:58]                 │ info [saved_objects/spaces] Deleted existing index ".kibana"
[00:04:58]                 │ info [saved_objects/spaces] Unloading indices from "data.json"
[00:04:58]               └-> should return 200 when copying to multiple spaces
[00:04:58]                 └-> "before each" hook: global before each
[00:04:58]                 └-> "before each" hook
[00:04:59]                   │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:59]                   │ info [saved_objects/spaces] Loading "data.json"
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_1/P9scDdS5QKurqpuleB8Orw] deleting index
[00:04:59]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana_2/9UpZpHbGThCVjcHggkJlBg] deleting index
[00:04:59]                   │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:59]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:59]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] path: /.kibana/_doc/telemetry%3Atelemetry, params: {index=.kibana, id=telemetry:telemetry}
[00:04:59]                   │      org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][telemetry:telemetry]: routing [null]]
[00:04:59]                   │      	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:59]                   │      	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:59]                   │      	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:59]                   │      	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1176) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:88) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:676) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:04:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:04:59]                   │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:04:59]                   │      Caused by: org.elasticsearch.transport.RemoteTransportException: [kibana-ci-immutable-centos-tests-xl-1583328836811357361][127.0.0.1:6183][indices:data/read/get[s]]
[00:04:59]                   │      Caused by: org.elasticsearch.index.shard.IllegalIndexShardStateException: CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1685) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:905) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:174) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:104) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:95) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	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:59]                   │      	at org.elasticsearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:58) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:688) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:04:59]                   │      	... 3 more
[00:04:59]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:59]                   │ proc [kibana] internal/process/warning.js:153
[00:04:59]                   │ proc [kibana]         throw warning;
[00:04:59]                   │ proc [kibana]         ^
[00:04:59]                   │ proc [kibana] 
[00:04:59]                   │ 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:59]                   │ proc [kibana]     at emitDeprecationWarning (internal/process/promises.js:111:13)
[00:04:59]                   │ proc [kibana]     at emitWarning (internal/process/promises.js:104:3)
[00:04:59]                   │ proc [kibana]     at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
[00:04:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:69:34)
[00:04:59]                   │ info [saved_objects/spaces] Created index ".kibana"
[00:04:59]                   │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:59]                   │ info [saved_objects/spaces] Indexed 16 docs into ".kibana"
[00:04:59]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1583328836811357361] [.kibana/x8XLgc28Rpy41D_1ooeK0Q] update_mapping [_doc]
[00:04:59]                   │ debg Migrating saved objects
[00:04:59]                   │ERROR [migrate saved objects] request failed (attempt=1/5)
[00:04:59]                   └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook"
[00:04:59]                   │
[00:04:59]                   └-> "after each" hook
[00:04:59]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:00]                     │ERROR [migrate saved objects] request failed (attempt=2/5)
[00:05:00]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=2/5)
[00:05:02]                     │ERROR [migrate saved objects] request failed (attempt=3/5)
[00:05:02]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=3/5)
[00:05:05]                     │ERROR [migrate saved objects] request failed (attempt=4/5)
[00:05:05]                     │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=4/5)
[00:05:09]                     │ERROR [migrate saved objects] request failed (attempt=5/5)
[00:05:09]                     └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "before each" hook for "should return 200 when copying to multiple spaces""
[00:05:09]                     │
[00:05:09]                     └-> "after each" hook
[00:05:09]                       │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=1/5)
[00:05:09]                       │ERROR [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=5/5)
[00:05:09]                       └- ✖ fail: "spaces api with security copy to spaces rbac user with all at space from the space_1 space "after each" hook for "should return 200 when copying to multiple spaces""
[00:05:09]                       │

Stack Trace

Error: [GET http://elastic:changeme@localhost:6181/api/status] request failed (attempt=5/5) -- and ran out of retries
    at KbnClientRequester.request (/dev/shm/workspace/kibana/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

@stacey-gammon stacey-gammon merged commit d2cbc59 into elastic:master Mar 4, 2020
stacey-gammon added a commit to stacey-gammon/kibana that referenced this pull request Mar 4, 2020
* wip

* review follow up

* make ACTION a prefix, not SUFFIX

* fix path

* add warnings about casting to ActionType

* Make context  an object in examples, not a string

* require object context, which seems to fix the partial requirement in type and thus the type issue

* mistake

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
stacey-gammon added a commit that referenced this pull request Mar 5, 2020
* wip

* review follow up

* make ACTION a prefix, not SUFFIX

* fix path

* add warnings about casting to ActionType

* Make context  an object in examples, not a string

* require object context, which seems to fix the partial requirement in type and thus the type issue

* mistake

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Drilldowns Embeddable panel Drilldowns release_note:skip Skip the PR/issue when compiling release notes v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants