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

[Endpoint] Basic Functionality Alert List #55800

Merged
merged 9 commits into from
Jan 29, 2020

Conversation

dplumlee
Copy link
Contributor

@dplumlee dplumlee commented Jan 24, 2020

Summary

Sets up a basic alert list component on the alerts page for the endpoint plugin. Currently being populated with sample data as the backend schema is being built.

image

https://github.com/elastic/endpoint-app-team/issues/83

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@dplumlee dplumlee added WIP Work in progress v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.6.0 Team:Endpoint Response Endpoint Response Team labels Jan 24, 2020
@@ -0,0 +1,36 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Added a types file at the top level so that certain types can be shared between the FE and the BE. Also, I think we should try to keep all types in one file. When trying to determine the type of a variable, it's much easier when there is a single place where all type definitions live. If the file becomes too big and hard to manage, we could revisit and make adjustments. Thoughts @oatkiller @kevinlog @paul-tavares @parkiino?

Copy link
Contributor

Choose a reason for hiding this comment

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

I also like this approach (share of types between BE/FE) and came across this need when I pushed through the Saga stuff (I had an API call there for Endpoint List data). @nnamdifrankie has a pending PR to do the same as this - create a top-level types that can be shared across - see: #54772

In that PR, he created a file plugins/endpoint/common/types.ts, which personally (having the common dir) I like better because we might have more than just types in the future that we may want to share between BE/FE. You and Franklin should sync up this in order to avoid duplication/confusion.

Copy link
Contributor

Choose a reason for hiding this comment

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

One place seems okay for now. Makes sense to me to break it out when the need arises

Copy link
Contributor

Choose a reason for hiding this comment

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

i've been using 1 file for all types Resolver. It's a great file to read if you want to understand everything that's being modeled by Resolver. If a module creates a type for private use, I would consider leaving that in the module itself.

Having few types makes your system easy to understand I think.

@@ -0,0 +1,11 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

The types in this file would move the main types file at the top level.

Copy link
Contributor

Choose a reason for hiding this comment

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

On the topic of "top level types" and given my prior comment re: PR #54772 - These types here (and in store/endpoint_list/ ) are likely not to be needed by BE. Should we instead create a under plugin/endpoint/public/types.ts and place all FE specific types there? (and use /plugin/endpoint/common/types.ts for those shared across BE/FE?

Copy link
Contributor

Choose a reason for hiding this comment

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

@paul-tavares Moved the types to common/types.ts

@@ -0,0 +1,23 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

We are using a simple middleware to handle side-effects here, as opposed to using oatSaga. The idea is that we shouldn't overcomplicate the app from the start. oatSaga, though simpler than redux-saga, still has a fair amount of complexity in its usage. There is no need to have this complexity now, though over time we may feel like adding some more functionality. The other supporting argument to using this simpler approach is that newcomers to the team will most likely be familiar with Redux and the basic concepts of middlewares, but they won't know about oatSaga. Thoughts @oatkiller @kevinlog @paul-tavares @parkiino.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm good with this approach as well - much simpler

Copy link
Contributor

@oatkiller oatkiller Jan 24, 2020

Choose a reason for hiding this comment

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

image

seems like oatsaga has more adoption
image

Copy link
Contributor

@kevinlog kevinlog Jan 24, 2020

Choose a reason for hiding this comment

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

@peluja1012 what are some of the main differences here? It looks like we're still using appSagaFactory below which, as far as I can tell uses the existing createSagaMiddleware. Is the plan to drop some of the other functionality from https://github.com/elastic/kibana/blob/master/x-pack/plugins/endpoint/public/applications/endpoint/lib/saga.ts ?

Let me know what I'm missing @oatkiller @paul-tavares @parkiino

I'm all for simplicity, just wanna better understand what we're proposing that we remove.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we're proposing to remove anything. Just that the alerting feature will (initially anyway) forgo lib/saga and instead just make its simple middleware:

The logic consists of:

  1. call the next middleware
  2. Check if the action is a certain action (page loaded)
  3. if so, make an http request and dispatch an action when thats done.

Redux middleware, by default, provides the ability to run code on each action. lib/saga's main addition to that is to provide the stream of actions as an async generator.

@@ -0,0 +1,20 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

In the past, we relied on react-router to tell us when a user entered a page and we would then fire an action to let the app know about this navigation. The approach below is simpler. We use a hook that is meant to be called from our app's main pages or containers. When the user navigates to these pages, the hook will run and will dispatch a userNavigatedToPage action. Our middleware can then listen for this action and perform side-effects like API calls. Thoughts @oatkiller @kevinlog @paul-tavares @parkiino?

Copy link
Contributor

Choose a reason for hiding this comment

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

ya let's keep it simple. We could end up only having 2 pages (or less) for a long time.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm ok with this approach as well.
We should also have a store action that indicates a user has left the page (userNavigatedAwayFrompage) so that proper clean up (ex. reset store namespace to clean out data loaded in memory).

import { usePageId } from '../use_page_id';

export const AlertIndex = memo(() => {
usePageId('alertsPage');
Copy link
Contributor

Choose a reason for hiding this comment

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

This is where we call the usePageId hook, which will dispatch a userNavigatedToPage action.


export const alertMiddlewareFactory: (
coreStart: CoreStart
) => Middleware<{}, GlobalState, Dispatch<AppAction>> = coreStart => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be worth using a more strict type here.

import { AlertData } from '../../../../../endpoint_app_types';

export interface AlertListState {
alerts: AlertData[];

This comment was marked as resolved.

hostname: string;
ip: string;
os: {
name: string; // TODO Union types?
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the TODO here and use github issue tracking instead?

@@ -0,0 +1,36 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I also like this approach (share of types between BE/FE) and came across this need when I pushed through the Saga stuff (I had an API call there for Endpoint List data). @nnamdifrankie has a pending PR to do the same as this - create a top-level types that can be shared across - see: #54772

In that PR, he created a file plugins/endpoint/common/types.ts, which personally (having the common dir) I like better because we might have more than just types in the future that we may want to share between BE/FE. You and Franklin should sync up this in order to avoid duplication/confusion.

@@ -0,0 +1,23 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm good with this approach as well - much simpler

@@ -0,0 +1,11 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

On the topic of "top level types" and given my prior comment re: PR #54772 - These types here (and in store/endpoint_list/ ) are likely not to be needed by BE. Should we instead create a under plugin/endpoint/public/types.ts and place all FE specific types there? (and use /plugin/endpoint/common/types.ts for those shared across BE/FE?

state = initialState(),
action
) => {
if (action.type === 'serverReturnedAlertsData') {
Copy link
Contributor

Choose a reason for hiding this comment

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

You may want to consider (in the future) "reseting" the state when a user leaves the Alerts list so that data stored here does not take up memory in the browser.

@@ -16,7 +18,10 @@ const initialState = (): EndpointListState => {
};
};

export const endpointListReducer = (state = initialState(), action: EndpointListAction) => {
export const endpointListReducer: Reducer<EndpointListState, AppAction> = (
Copy link
Contributor

Choose a reason for hiding this comment

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

Q. Why AppAction and not EndpointListAction?
is it so that in the future we could take advantage of other concern's Actions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its because combineReducers passes in all actions, not just EndpointListAction

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah Ok - but were you getting TS errors?

I think the benefit was that types shown here would be narrowed down to only the ones this concern cares about.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We weren't getting errors but I think to your previous point it might be good to take advantage of being able to use other concern's or generic/global app actions in the future and this would keep that ability. Kind of like how we have the page navigated actions now. I do see what you're saying though, i don't necessarily disagree with it

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

even if we filter out non-concern specific actions in the future, they aren't yet filtered out, so this type is more correct

import { GlobalState } from './reducer';
import * as alertListSelectors from './alerts/selectors';

export const alertListData = composeSelectors(
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI.
@parkiino will be pushing through a PR soon that takes a different approach for using a selector from a React component. Instead of having to re-define all your "context bound" selectors again here so that they receive the correct namespace from the GlobalStore, instead we're proposing having a hook like:

File: store/hooks.ts:

export function useEndpointListSelector<TSelected>(
  selector: (state: EndpointListState) => TSelected
) {
  return useSelector(function(state: GlobalState) {
    return selector(state.endpointList);
  });
}

The idea is that each of the concerns will have an associated hook. To use this in a component, you would:

import { endpointListData } from "../store/endpoint_list/selectors;
import { useEndpointListSelector } from "../store/hooks;

const EndpointsListPage = () => {
    const listData = useEndpointListSelector(endpointListData);

    return (<div>...</div>)
}

(Credit to @oatkiller for the idea during a recent discussion 😃 )

Copy link
Contributor

Choose a reason for hiding this comment

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

@paul-tavares If we use this approach, how would a middleware (or saga) use the selector if needed to grab some data from state?

Copy link
Contributor

Choose a reason for hiding this comment

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

@peluja1012 - From a saga or middleware we have access directly to the store and can get back GlobalState - so you would use the concern selector directly and feed it its namespace (ex. endpointListData(store.getState().endpointList)).

When we discussed this, the goal was to avoid the need to define all concerns selectors a second time in order for us to continue to use react-redux useSelector(). The hook does that nicely 😃

@@ -0,0 +1,20 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm ok with this approach as well.
We should also have a store action that indicates a user has left the page (userNavigatedAwayFrompage) so that proper clean up (ex. reset store namespace to clean out data loaded in memory).

* Calls the `secondSelector` with the result of the `selector`. Use this when re-exporting a
* concern-specific selector. `selector` should return the concern-specific state.
*/
function composeSelectors<OuterState, InnerState, ReturnValue>(
Copy link
Contributor

Choose a reason for hiding this comment

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

* you may not use this file except in compliance with the Elastic License.
*/

import { AlertData } from '../../../../../common/types';
Copy link
Contributor

Choose a reason for hiding this comment

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

Thoughts about setting a baseUrl to remove these relative imports? https://www.typescriptlang.org/docs/handbook/module-resolution.html#base-url

I'm not sure if we are going to be able to maintain our own tsconfig.json or if we are sharing one with the rest of Kibana.

Copy link
Contributor

Choose a reason for hiding this comment

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

@alexk307 We are currently not using our own tsconfig.json. We could look into this, but i think it's fine for now to use relative imports. Most IDE's that provide typescript support like VSCode or Vim make relative imports pretty easy.

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI - I seem remember a discussion from the Kibana platform team that suggests this is something they want to look at and possibly introduce aliases that will simplify the import paths. Found discussion on Kibana issues (look at Issue 40446).

export const alertMiddlewareFactory: MiddlewareFactory = coreStart => {
return store => next => async (action: AppAction) => {
next(action);
if (action.type === 'userNavigatedToPage' && action.payload === 'alertsPage') {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm assuming by your above TODO, that all of this is still moving code for now, but would we be to define these action types in a types.ts file, so they're easy to use anywhere?

Copy link
Contributor

Choose a reason for hiding this comment

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

@alexk307 We define actions in files like this one https://github.com/elastic/kibana/pull/55800/files#diff-c971622c4d5a45ad624ef764513a0131. The type checker will throw and error if you use an invalid action type in this if-statement. So if we were to do if (action.type === 'fooAction'), the type checker will throw an error because fooAction is not of type AppAction.


const [visibleColumns, setVisibleColumns] = useState(() => columns.map(({ id }) => id));

const json = useSelector(selectors.alertListData);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is pretty neat

@@ -44,3 +62,37 @@ export interface EndpointMetadata {
};
};
}

export type AlertData = Immutable<{
Copy link
Contributor

Choose a reason for hiding this comment

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

Why should this be Immutable?

Copy link
Contributor

Choose a reason for hiding this comment

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

There should be one section of the alert data that is mutable... otherwise, it should all be immutable.

Copy link
Contributor

Choose a reason for hiding this comment

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

done


import { AlertData } from '../../../../../common/types';

interface ServerReturnedAlertsData {
Copy link
Contributor

Choose a reason for hiding this comment

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

this would be a better place for Immutable since the code relies on the fact that action payloads aren't mutated. as it is, the payload array is mutable.

// maybe
interface ServerReturnedAlertsData {  
  readonly type: 'serverReturnedAlertsData';
  readonly payload: readonly AlertData[];
}

// or
type ServerReturnedAlertsData = Immutable<{  
  type: 'serverReturnedAlertsData';
  payload: AlertData[];
}>;

Copy link
Contributor

Choose a reason for hiding this comment

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

done

import { GlobalState } from '../reducer';
import { AppAction } from '../action';

// TODO, move this somewhere
Copy link
Contributor

Choose a reason for hiding this comment

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

DO IT then

Copy link
Contributor

Choose a reason for hiding this comment

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

done

return store => next => async (action: AppAction) => {
next(action);
if (action.type === 'userNavigatedToPage' && action.payload === 'alertsPage') {
const response: AlertData[] = await coreStart.http.get('/api/endpoint/alerts');
Copy link
Contributor

Choose a reason for hiding this comment

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

should be read only ya?

Copy link
Contributor

Choose a reason for hiding this comment

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

done

};
};

export const alertListReducer: Reducer<AlertListState, AppAction> = (
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you using index vs page vs `list consistently here?

Some suggestions:

The feature (aka concern) is called 'alerting' and the directory takes this name.
The component that shows a list of alerts: 'alertList'
The route is called 'alertsIndex' assuming that it's written 'alerts/'
The component that renders the page is called 'alertingPage'.
@peluja1012 can explain that we might end up with a single route that shows an alert list page, an alert detail page, or both at the same time.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will address this in the next PR where I add a stub alert detail


import { AlertListState } from './types';

export const alertListData = (state: AlertListState) => state.alerts;
Copy link
Contributor

Choose a reason for hiding this comment

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

consider naming this type AlertingState and this reducer alertingReducer and the naming the piece of global state alerting

Copy link
Contributor

Choose a reason for hiding this comment

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

Will address this in the next PR where I add a stub alert detail

export const AlertIndex = memo(() => {
usePageId('alertsPage');

const columns: Array<{ id: string }> = [
Copy link
Contributor

Choose a reason for hiding this comment

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

consider wrapping this in useMemo so that you don't pass a new array ref to EuiGrid each render

} else if (columnId === 'timestamp') {
return json[rowIndex].value.source.endgame.timestamp_utc;
} else if (columnId === 'archived') {
return null; // TODO change this once its available in backend
Copy link
Contributor

Choose a reason for hiding this comment

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

Can ya move this to a github issue plz

Copy link
Contributor

Choose a reason for hiding this comment

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

removed comment. Github issue here https://github.com/elastic/endpoint-app-team/issues/87

} else if (columnId === 'host_name') {
return json[rowIndex].value.source.host.hostname;
} else if (columnId === 'timestamp') {
return json[rowIndex].value.source.endgame.timestamp_utc;
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. We will add intl in future PRs. We just want to get some basic code structure and patterns merged now.

@@ -44,3 +62,37 @@ export interface EndpointMetadata {
};
};
}

export type AlertData = Immutable<{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a comment (in jsdoc style) to each field.

Copy link
Contributor

Choose a reason for hiding this comment

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

This data will change very soon to conform to ECS. We will document more once the format is closer to the final format. Right now we are using outdated fake data.

? ImmutableSet<M>
: ImmutableObject<T>;

export type ImmutableArray<T> = ReadonlyArray<Immutable<T>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

please add a comment to all exported identifiers

if (columnId === 'alert_type') {
return json[rowIndex].value.source.endgame.metadata.key;
} else if (columnId === 'event_type') {
return json[rowIndex].value.source.endgame.data.file_operation;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you confirm that all alerts are guaranteed to have this field?

Copy link
Contributor

Choose a reason for hiding this comment

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

We will do this properly in future PRs. We just want to get some basic code structure and patterns merged now.

} else if (columnId === 'archived') {
return null; // TODO change this once its available in backend
} else if (columnId === 'malware_score') {
return json[rowIndex].value.source.endgame.data.malware_classification.score;
Copy link
Contributor

Choose a reason for hiding this comment

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

can you confirm that all alerts have this field?

Copy link
Contributor

Choose a reason for hiding this comment

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

We will do this properly in future PRs. We just want to get some basic code structure and patterns merged now.

},
async (context, req, res) => {
try {
// const queryParams = await kibanaRequestToEndpointListQuery(req, endpointAppContext);
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove commented out code

Copy link
Contributor

Choose a reason for hiding this comment

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

done


const renderCellValue = useMemo(() => {
return ({ rowIndex, columnId }: { rowIndex: number; columnId: string }) => {
if (json.length === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe instead

if (rowIndex >= json.length) {
  return null
} else {
  const row = json[rowIndex]
  // use `row` from here on instead of `json[rowIndex]`
}

Copy link
Contributor

Choose a reason for hiding this comment

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

done

@dplumlee dplumlee merged commit 1ca013a into elastic:master Jan 29, 2020
@dplumlee dplumlee deleted the basic-alert-list branch January 29, 2020 03:38
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 29, 2020
* master: (31 commits)
  [SIEM] Overview page feedback (elastic#56261)
  refactor (elastic#56131)
  [NP Cleanup] Remove ui/public/inspector (elastic#55677)
  [SIEM] [TIMELINE] Only add endpoint logo when on event.module === endgame (elastic#56263)
  Basic Functionality Alert List (elastic#55800)
  [SIEM] Fix filters on Hosts and Network page (elastic#56234)
  [SIEM] Adds ability to infer the newsfeed.enabled setting (elastic#56236)
  [SIEM][Detection Engine] critical blocker for updated rules
  [SIEM][Detection Engine] critical blocker, fixes ordering issue that causes rules to not run the first time
  [SIEM] Add link to endpoint app through reference.url (elastic#56211)
  [Metrics UI] Fixing title truncation in Metrics Explorer (elastic#55917)
  [SIEM] Put the notice for rules in comment block (elastic#56123)
  [SIEM][Detection Engine] critical blocker with the UI crashing
  Consistent timeouts for the Space onPostAuth interceptor tests (elastic#56158)
  Skip tests that depend on other skipped test
  [SIEM] [Detection Engine] Timestamps for rules (elastic#56197)
  Sort server-side in SavedObject export (elastic#55128)
  [Reporting] Document the 8.0 breaking changes (elastic#56187)
  Revert "[Monitoring] Change all configs to `monitoring.*`" (elastic#56214)
  add owners for es_archiver (elastic#56184)
  ...
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos_custom_timestamp·js.context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order

Link to Jenkins

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

[00:00:00]       │
[00:00:14]         └-: context app
[00:00:14]           └-> "before all" hook
[00:00:14]           └-> "before all" hook
[00:00:14]             │ info [logstash_functional] Loading "mappings.json"
[00:00:14]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:24]             │ info progress: 9630
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:28]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_1/4kLRwYnPTqyZCGlrEl8Icg] deleting index
[00:00:28]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:28]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:28]             │ info [visualize] Created index ".kibana"
[00:00:28]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:28]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana/Z9iwDwkIT8aTUfwd7I2RLQ] update_mapping [_doc]
[00:00:36]             │ info Creating index .kibana_2.
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:36]             │ info Reindexing .kibana to .kibana_1
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.tasks]
[00:00:36]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] 880 finished with response BulkByScrollResponse[took=91.1ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:36]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana/Z9iwDwkIT8aTUfwd7I2RLQ] deleting index
[00:00:36]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:36]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:00:36]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/fvUmapznRHyz3f71NhRD-g] update_mapping [_doc]
[00:00:36]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/fvUmapznRHyz3f71NhRD-g] update_mapping [_doc]
[00:00:36]             │ info Pointing alias .kibana to .kibana_2.
[00:00:36]             │ info Finished in 780ms.
[00:00:36]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/fvUmapznRHyz3f71NhRD-g] update_mapping [_doc]
[00:00:38]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/fvUmapznRHyz3f71NhRD-g] update_mapping [_doc]
[00:00:39]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:39]             │ debg Navigate to: http://localhost:6121/app/kibana#/discover
[00:00:39]             │ debg ... sleep(700) start
[00:00:39]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580741017881#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:39]             │
[00:00:39]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:40]             │ debg ... sleep(700) end
[00:00:40]             │ debg returned from get, calling refresh
[00:00:40]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580741017881#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:40]             │
[00:00:40]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:40]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:40]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:43]             │ debg TestSubjects.find(kibanaChrome)
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:43]             │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-02-03T14:43:40Z
[00:00:43]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:43]             │
[00:00:43]             │      "
[00:00:43]             │ debg ... sleep(501) start
[00:00:43]             │ debg ... sleep(501) end
[00:00:43]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()
[00:00:43]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:43]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:46]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:18]           └-: context view for date_nanos with custom timestamp
[00:02:18]             └-> "before all" hook
[00:02:18]             └-> "before all" hook
[00:02:18]               │ info [date_nanos_custom] Loading "mappings.json"
[00:02:18]               │ info [date_nanos_custom] Loading "data.json"
[00:02:18]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [date_nanos_custom_timestamp] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:18]               │ info [date_nanos_custom] Created index "date_nanos_custom_timestamp"
[00:02:18]               │ debg [date_nanos_custom] "date_nanos_custom_timestamp" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:18]               │ info Creating index .kibana_4.
[00:02:18]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:18]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_4]
[00:02:18]               │ info Migrating .kibana_3 saved objects to .kibana_4
[00:02:18]               │ debg Migrating saved objects index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09, index-pattern:logstash-*, search:ab12e3c0-f231-11e6-9486-733b1ac9221a, config:8.0.0-SNAPSHOT, index-pattern:date-nanos, index-pattern:date_nanos_custom_timestamp
[00:02:18]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/CKQyWJSHQ8-rFuHkOU6NYg] update_mapping [_doc]
[00:02:19]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/CKQyWJSHQ8-rFuHkOU6NYg] update_mapping [_doc]
[00:02:19]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/CKQyWJSHQ8-rFuHkOU6NYg] update_mapping [_doc]
[00:02:19]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/CKQyWJSHQ8-rFuHkOU6NYg] update_mapping [_doc]
[00:02:19]               │ info Pointing alias .kibana to .kibana_4.
[00:02:19]               │ info Finished in 305ms.
[00:02:19]               │ debg replacing kibana config doc: {"defaultIndex":"date_nanos_custom_timestamp"}
[00:02:19]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:21]             └-> displays predessors - anchor - successors in right order 
[00:02:21]               └-> "before each" hook: global before each
[00:02:21]               │ debg browser.get(http://localhost:6121/app/kibana#/context/date_nanos_custom_timestamp/1?_a=(columns:!('@message')))
[00:02:21]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:21]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:21]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580741119539#/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27)) 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:21]               │
[00:02:21]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-02-03T14:45:20Z
[00:02:22]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:22]               │
[00:02:22]               │      "
[00:02:22]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:22]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:23]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:23]               │ warn WebElementWrapper.isEnabled: stale element reference: element is not attached to the page document
[00:02:23]               │        (Session info: headless chrome=79.0.3945.130)
[00:02:23]               │        (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 3.10.0-1062.9.1.el7.x86_64 x86_64)
[00:02:23]               │ debg finding element 'By(css selector, [data-test-subj="successorsLoadMoreButton"])' again, 2 attempts left
[00:02:23]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"J6_hkw3uTiCvrCOTmlfz5Q","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:23]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:794586)
[00:02:23]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:23]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:23]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:23]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:789444)
[00:02:23]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:789755) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"J6_hkw3uTiCvrCOTmlfz5Q\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:23]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"J6_hkw3uTiCvrCOTmlfz5Q","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:23]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:794586)
[00:02:23]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:23]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:23]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:23]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:789444)
[00:02:23]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:789755) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"J6_hkw3uTiCvrCOTmlfz5Q\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:23]               │ debg ... sleep(1000) start
[00:02:24]               │ debg ... sleep(1000) end
[00:02:24]               │ debg TestSubjects.find(docTable)
[00:02:24]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:24]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .png"
[00:02:24]               │ info Current URL is: http://localhost:6121/app/kibana#/discover/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27),filters:!(),predecessorCount:1,sort:!(timestamp,desc),successorCount:1)&_g=()
[00:02:24]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .html
[00:02:24]               └- ✖ fail: "context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order "
[00:02:24]               │



Test Failures

Kibana Pipeline / kibana-intake-agent / kibana-intake / API Integration Tests.test/api_integration/apis/saved_objects/export·js.apis saved_objects export with kibana index basic amount of saved objects should return objects in dependency order

Link to Jenkins

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           │ proc [kibana]   log   [15:23:51.069] [info][status][plugin:elasticsearch@8.0.0] Status changed from yellow to green - Ready
[00:00:00]           └-> "before all" hook
[00:00:31]           └-: saved_objects
[00:00:31]             └-> "before all" hook
[00:00:40]             └-: export
[00:00:40]               └-> "before all" hook
[00:00:40]               └-: with kibana index
[00:00:40]                 └-> "before all" hook
[00:00:40]                 └-: basic amount of saved objects
[00:00:40]                   └-> "before all" hook
[00:00:40]                   └-> "before all" hook
[00:00:40]                     │ info [saved_objects/basic] Loading "mappings.json"
[00:00:40]                     │ info [saved_objects/basic] Loading "data.json.gz"
[00:00:40]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:40]                     │ info [saved_objects/basic] Created index ".kibana"
[00:00:40]                     │ debg [saved_objects/basic] ".kibana" settings {"index":{"number_of_shards":"1","number_of_replicas":"1"}}
[00:00:41]                     │ info Creating index .kibana_2.
[00:00:41]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:41]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-1580739673647597814] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:41]                     │ info Reindexing .kibana to .kibana_1
[00:00:41]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:41]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-1580739673647597814] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:41]                     │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-1580739673647597814] 1897 finished with response BulkByScrollResponse[took=37.2ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:41]                     │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana/7bI5dwNlRNagrU5Ex9ljnA] deleting index
[00:00:41]                     │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:41]                     │ debg Migrating saved objects index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, config:7.0.0-alpha1, visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab, foo-ns:index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, foo-ns:config:7.0.0-alpha1, foo-ns:visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, foo-ns:dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab
[00:00:41]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_2/N_Q1rAVWTZOcQvF68TBj8Q] update_mapping [_doc]
[00:00:41]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_2/N_Q1rAVWTZOcQvF68TBj8Q] update_mapping [_doc]
[00:00:41]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_2/N_Q1rAVWTZOcQvF68TBj8Q] update_mapping [_doc]
[00:00:41]                     │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-1580739673647597814] [.kibana_2/N_Q1rAVWTZOcQvF68TBj8Q] update_mapping [_doc]
[00:00:41]                     │ info Pointing alias .kibana to .kibana_2.
[00:00:41]                     │ info Finished in 770ms.
[00:00:41]                   └-> should return objects in dependency order
[00:00:41]                     └-> "before each" hook: global before each
[00:00:41]                     └- ✖ fail: "apis saved_objects export with kibana index basic amount of saved objects should return objects in dependency order"
[00:00:41]                     │



Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Saved Object API Integration Tests -- security_and_spaces.x-pack/test/saved_object_api_integration/security_and_spaces/apis/export·ts.saved objects security and spaces enabled export superuser with the default space space aware type should return 200 with only the visualization when querying by type

Link to Jenkins

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

[00:00:00]       │
[00:00:00]         └-: saved objects security and spaces enabled
[00:00:00]           │ proc [kibana]   log   [14:53:55.018] [info][status][plugin:spaces@8.0.0] Status changed from yellow to green - Ready
[00:00:00]           │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_task_manager_1/KJDTsqz6Smuyde9ZMpOYFQ] update_mapping [_doc]
[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-ubuntu-tests-xl-1580739661043146312] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_dual_privileges_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_default_space_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [not_a_kibana_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_legacy_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_dual_privileges_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_default_space_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_default_space_read_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_space_1_all_user]
[00:00:04]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_space_1_read_user]
[00:04:08]           └-: export
[00:04:08]             └-> "before all" hook
[00:04:10]             └-: superuser with the default space
[00:04:10]               └-> "before all" hook
[00:04:10]               └-> "before all" hook
[00:04:11]                 │ info [saved_objects/spaces] Loading "mappings.json"
[00:04:11]                 │ info [saved_objects/spaces] Loading "data.json"
[00:04:11]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/pcNTjP7GSsGQJdTCRlDHpQ] deleting index
[00:04:11]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_1/n5fMuR7oT-GuSf2svaTELQ] deleting index
[00:04:11]                 │ info [saved_objects/spaces] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:11]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:04:11]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:04:11]                 │ info [saved_objects/spaces] Created index ".kibana"
[00:04:11]                 │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:04:12]                 │ info Creating index .kibana_2.
[00:04:12]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:12]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:12]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:04:12]                 │ info Reindexing .kibana to .kibana_1
[00:04:12]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:12]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:12]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:04:12]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] 24429 finished with response BulkByScrollResponse[took=57.1ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:12]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana/OJq-uACRQf-VQ5k0wewpWw] deleting index
[00:04:12]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:12]                 │ debg Migrating saved objects space:default, space:space_1, space:space_2, index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, config:7.0.0-alpha1, visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab, space_1:index-pattern:space_1-91200a00-9efd-11e7-acb3-3dab96693fab, space_1:config:7.0.0-alpha1, space_1:visualization:space_1-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_1:dashboard:space_1-be3733a0-9efe-11e7-acb3-3dab96693fab, space_2:index-pattern:space_2-91200a00-9efd-11e7-acb3-3dab96693fab, space_2:config:7.0.0-alpha1, space_2:visualization:space_2-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_2:dashboard:space_2-be3733a0-9efe-11e7-acb3-3dab96693fab, globaltype:8121a00-8efd-21e7-1cb3-34ab966434445
[00:04:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/EMCcIAJkRk-qRd3joBZXCQ] update_mapping [_doc]
[00:04:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/EMCcIAJkRk-qRd3joBZXCQ] update_mapping [_doc]
[00:04:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/EMCcIAJkRk-qRd3joBZXCQ] update_mapping [_doc]
[00:04:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/EMCcIAJkRk-qRd3joBZXCQ] update_mapping [_doc]
[00:04:12]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/EMCcIAJkRk-qRd3joBZXCQ] update_mapping [_doc]
[00:04:12]                 │ info Pointing alias .kibana to .kibana_2.
[00:04:13]                 │ info Finished in 778ms.
[00:04:13]               └-> space aware type should return 200 with only the visualization when querying by type
[00:04:13]                 └-> "before each" hook: global before each
[00:04:13]                 └- ✖ fail: "saved objects security and spaces enabled export superuser with the default space space aware type should return 200 with only the visualization when querying by type"
[00:04:13]                 │



Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Saved Object API Integration Tests -- security_only.x-pack/test/saved_object_api_integration/security_only/apis/export·ts.saved objects security only enabled export superuser space aware type should return 200 with only the visualization when querying by type

Link to Jenkins

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

[00:00:00]       │
[00:00:00]         └-: saved objects security only enabled
[00:00:00]           │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_task_manager_1/rZtwHxsFSFqxy4XrUph1NA] update_mapping [_doc]
[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-ubuntu-tests-xl-1580739661043146312] added role [kibana_legacy_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_dual_privileges_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_dual_privileges_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_dashboard_only_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_default_space_all_user]
[00:00:01]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_default_space_read_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_space_1_all_user]
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added role [kibana_rbac_space_1_read_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [not_a_kibana_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_legacy_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_dual_privileges_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_dual_privileges_dashboard_only_user]
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_dashboard_only_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_default_space_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_default_space_read_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_space_1_all_user]
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] added user [a_kibana_rbac_space_1_read_user]
[00:02:02]           └-: export
[00:02:02]             └-> "before all" hook
[00:02:05]             └-: superuser
[00:02:05]               └-> "before all" hook
[00:02:05]               └-> "before all" hook
[00:02:05]                 │ info [saved_objects/spaces] Loading "mappings.json"
[00:02:05]                 │ info [saved_objects/spaces] Loading "data.json"
[00:02:05]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:02:05]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:02:05]                 │ info [saved_objects/spaces] Created index ".kibana"
[00:02:05]                 │ debg [saved_objects/spaces] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:06]                 │ info Creating index .kibana_2.
[00:02:06]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:02:06]                 │ info Reindexing .kibana to .kibana_1
[00:02:06]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] updating number_of_replicas to [0] for indices [.kibana_1]
[00:02:06]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:02:06]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] 13463 finished with response BulkByScrollResponse[took=35.6ms,timed_out=false,sliceId=null,updated=0,created=16,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:06]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana/97QGvwIdTg-3Hjb59L8Z0A] deleting index
[00:02:06]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:02:06]                 │ debg Migrating saved objects space:default, space:space_1, space:space_2, index-pattern:91200a00-9efd-11e7-acb3-3dab96693fab, config:7.0.0-alpha1, visualization:dd7caf20-9efd-11e7-acb3-3dab96693fab, dashboard:be3733a0-9efe-11e7-acb3-3dab96693fab, space_1:index-pattern:space_1-91200a00-9efd-11e7-acb3-3dab96693fab, space_1:config:7.0.0-alpha1, space_1:visualization:space_1-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_1:dashboard:space_1-be3733a0-9efe-11e7-acb3-3dab96693fab, space_2:index-pattern:space_2-91200a00-9efd-11e7-acb3-3dab96693fab, space_2:config:7.0.0-alpha1, space_2:visualization:space_2-dd7caf20-9efd-11e7-acb3-3dab96693fab, space_2:dashboard:space_2-be3733a0-9efe-11e7-acb3-3dab96693fab, globaltype:8121a00-8efd-21e7-1cb3-34ab966434445
[00:02:06]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/BLs1o3CWSna3QF7LEkfBtg] update_mapping [_doc]
[00:02:06]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/BLs1o3CWSna3QF7LEkfBtg] update_mapping [_doc]
[00:02:06]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/BLs1o3CWSna3QF7LEkfBtg] update_mapping [_doc]
[00:02:06]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/BLs1o3CWSna3QF7LEkfBtg] update_mapping [_doc]
[00:02:06]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1580739661043146312] [.kibana_2/BLs1o3CWSna3QF7LEkfBtg] update_mapping [_doc]
[00:02:06]                 │ info Pointing alias .kibana to .kibana_2.
[00:02:06]                 │ info Finished in 763ms.
[00:02:06]               └-> space aware type should return 200 with only the visualization when querying by type
[00:02:06]                 └-> "before each" hook: global before each
[00:02:07]                 └- ✖ fail: "saved objects security only enabled export superuser space aware type should return 200 with only the visualization when querying by type"
[00:02:07]                 │



Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos_custom_timestamp·js.context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order

Link to Jenkins

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

[00:00:00]       │
[00:00:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:13]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:13]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:13]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:13]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:23]             │ info progress: 11975
[00:00:25]             │ info [visualize] Loading "mappings.json"
[00:00:25]             │ info [visualize] Loading "data.json"
[00:00:25]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_1/adphPPB4S9ysMcDB983qfg] deleting index
[00:00:25]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:25]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:25]             │ info [visualize] Created index ".kibana"
[00:00:25]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:25]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana/mFC_dGMhT_2DHAvCEkfC_w] update_mapping [_doc]
[00:00:31]             │ info Creating index .kibana_2.
[00:00:31]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:31]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:32]             │ info Reindexing .kibana to .kibana_1
[00:00:32]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:32]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:32]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:32]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.tasks]
[00:00:32]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] 878 finished with response BulkByScrollResponse[took=75.2ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:32]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana/mFC_dGMhT_2DHAvCEkfC_w] deleting index
[00:00:32]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:32]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:00:32]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/cULqDgx8QwC210l4BVZqPg] update_mapping [_doc]
[00:00:32]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/cULqDgx8QwC210l4BVZqPg] update_mapping [_doc]
[00:00:32]             │ info Pointing alias .kibana to .kibana_2.
[00:00:32]             │ info Finished in 654ms.
[00:00:32]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:33]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/cULqDgx8QwC210l4BVZqPg] update_mapping [_doc]
[00:00:34]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:34]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_2/cULqDgx8QwC210l4BVZqPg] update_mapping [_doc]
[00:00:35]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:35]             │ debg Navigate to: http://localhost:6121/app/kibana#/discover
[00:00:35]             │ debg ... sleep(700) start
[00:00:35]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580740739304#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:35]             │
[00:00:35]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:35]             │ debg ... sleep(700) end
[00:00:35]             │ debg returned from get, calling refresh
[00:00:35]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580740739304#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:35]             │
[00:00:35]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:35]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:35]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:35]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:38]             │ debg TestSubjects.find(kibanaChrome)
[00:00:38]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:38]             │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-02-03T14:39:01Z
[00:00:38]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:38]             │
[00:00:38]             │      "
[00:00:38]             │ debg ... sleep(501) start
[00:00:39]             │ debg ... sleep(501) end
[00:00:39]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:39]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:40]             │ debg ... sleep(501) start
[00:00:40]             │ debg ... sleep(501) end
[00:00:40]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:40]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:40]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:43]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:15]           └-: context view for date_nanos with custom timestamp
[00:02:15]             └-> "before all" hook
[00:02:15]             └-> "before all" hook
[00:02:15]               │ info [date_nanos_custom] Loading "mappings.json"
[00:02:15]               │ info [date_nanos_custom] Loading "data.json"
[00:02:15]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [date_nanos_custom_timestamp] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:15]               │ info [date_nanos_custom] Created index "date_nanos_custom_timestamp"
[00:02:15]               │ debg [date_nanos_custom] "date_nanos_custom_timestamp" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:15]               │ info Creating index .kibana_4.
[00:02:15]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] updating number_of_replicas to [0] for indices [.kibana_4]
[00:02:15]               │ info Migrating .kibana_3 saved objects to .kibana_4
[00:02:15]               │ debg Migrating saved objects index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09, index-pattern:logstash-*, search:ab12e3c0-f231-11e6-9486-733b1ac9221a, config:8.0.0-SNAPSHOT, index-pattern:date-nanos, index-pattern:date_nanos_custom_timestamp
[00:02:15]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/j3P0kXqeQgiRElQStFyjNw] update_mapping [_doc]
[00:02:15]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/j3P0kXqeQgiRElQStFyjNw] update_mapping [_doc]
[00:02:15]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/j3P0kXqeQgiRElQStFyjNw] update_mapping [_doc]
[00:02:15]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1580739673647789289] [.kibana_4/j3P0kXqeQgiRElQStFyjNw] update_mapping [_doc]
[00:02:15]               │ info Pointing alias .kibana to .kibana_4.
[00:02:16]               │ info Finished in 245ms.
[00:02:16]               │ debg replacing kibana config doc: {"defaultIndex":"date_nanos_custom_timestamp"}
[00:02:16]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:17]             └-> displays predessors - anchor - successors in right order 
[00:02:17]               └-> "before each" hook: global before each
[00:02:17]               │ debg browser.get(http://localhost:6121/app/kibana#/context/date_nanos_custom_timestamp/1?_a=(columns:!('@message')))
[00:02:17]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:17]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:17]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1580740842129#/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27)) 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:17]               │
[00:02:17]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:20]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_0.bundle.dll.js 109:138197 "INFO: 2020-02-03T14:40:43Z
[00:02:20]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:20]               │
[00:02:20]               │      "
[00:02:20]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:20]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:20]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:21]               │ warn WebElementWrapper.isEnabled: stale element reference: element is not attached to the page document
[00:02:21]               │        (Session info: headless chrome=79.0.3945.130)
[00:02:21]               │        (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 3.10.0-1062.9.1.el7.x86_64 x86_64)
[00:02:21]               │ debg finding element 'By(css selector, [data-test-subj="successorsLoadMoreButton"])' again, 2 attempts left
[00:02:21]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"usogLOicS_O-Vy0cAiSVQQ","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:21]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:794586)
[00:02:21]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:21]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:21]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:21]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:789444)
[00:02:21]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:789755) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"usogLOicS_O-Vy0cAiSVQQ\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:21]               │ERROR browser[SEVERE] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"date_nanos_custom_timestamp","node":"usogLOicS_O-Vy0cAiSVQQ","reason":{"type":"parse_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]","caused_by":{"type":"date_time_parse_exception","reason":"Text '1571617804828740000' could not be parsed at index 0"}}}}]},"status":400}
[00:02:21]               │          at SearchSource._callee$ (http://localhost:6121/bundles/commons.bundle.js:1:794586)
[00:02:21]               │          at s (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774504)
[00:02:21]               │          at Generator._invoke (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774257)
[00:02:21]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:774861)
[00:02:21]               │          at asyncGeneratorStep (http://localhost:6121/bundles/commons.bundle.js:1:789444)
[00:02:21]               │          at _next (http://localhost:6121/bundles/commons.bundle.js:1:789755) "Possibly unhandled rejection: {\"resp\":{\"error\":{\"root_cause\":[{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date_nanos_custom_timestamp\",\"node\":\"usogLOicS_O-Vy0cAiSVQQ\",\"reason\":{\"type\":\"parse_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]: [failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [1571617804828740000] with format [yyyy-MM-dd HH:mm:ss.SSSSSS]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Text '1571617804828740000' could not be parsed at index 0\"}}}}]},\"status\":400}}"
[00:02:21]               │ debg ... sleep(1000) start
[00:02:22]               │ debg ... sleep(1000) end
[00:02:22]               │ debg TestSubjects.find(docTable)
[00:02:22]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:22]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .png"
[00:02:22]               │ info Current URL is: http://localhost:6121/app/kibana#/discover/context/date_nanos_custom_timestamp/1?_a=(columns:!(%27@message%27),filters:!(),predecessorCount:1,sort:!(timestamp,desc),successorCount:1)&_g=()
[00:02:22]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order .html
[00:02:22]               └- ✖ fail: "context app context view for date_nanos with custom timestamp displays predessors - anchor - successors in right order "
[00:02:22]               │


and 2 more failures, only showing the first 3.

History

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

@oatkiller oatkiller removed the WIP Work in progress label Feb 3, 2020
@kevinlog kevinlog added the Feature:Endpoint Elastic Endpoint feature label Feb 18, 2020
@kevinlog kevinlog changed the title Basic Functionality Alert List [Endpoint] Basic Functionality Alert List Feb 18, 2020
oatkiller pushed a commit that referenced this pull request Feb 18, 2020
* Add Endpoint plugin and Resolver embeddable (#51994)

* Add functional tests for plugins to x-pack (so we can do a functional test of the Resolver embeddable)
* Add Endpoint plugin
* Add Resolver embeddable
* Test that Resolver embeddable can be rendered

 Conflicts:
	x-pack/.i18nrc.json
	x-pack/test/api_integration/apis/index.js

* [Endpoint] Register endpoint app (#53527)

* register app, create functional test

* formatting

* update tests

* adjust test data for endpoint

* add endpoint tests for testing spaces, app enabled, disabled, etc

* linting

* add read privileges to endpoint

* rename variable since its used now

* remove deprecated context

* remove unused variable

* fix type check

* correct test suite message

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

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

* [Endpoint] add react router to endpoint app (#53808)

* add react router to endpoint app

* linting

* linting

* linting

* correct tests

* change history from hash to browser, add new test util

* remove default values in helper functions

* fix type check, use FunctionComponent as oppsed to FC

* use BrowserRouter component

* use BrowserRouter component lin

* add comments to test framework, change function name to include browserHistory

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

* EMT-issue-65: add endpoint list api (#53861)

add endpoint list api

* EMT-65:always return accurate endpoint count (#54423)

EMT-65:always return accurate endpoint count, independent of paging properties

* Resolver component w/ sample data (#53619)

Resolver is a map. It shows processes that ran on a computer. The processes are drawn as nodes and lines connect processes with their parents.

Resolver is not yet implemented in Kibana. This PR adds a 'map' type UX. The user can click and drag to pan the map and zoom using trackpad pinching (or ctrl and mousewheel.)

There is no code providing actual data. Sample data is included. The sample data is used to draw a map. The fundamental info needed is:

process names
the parent of a process
With this info we can topologically lay out the processes. The sample data isn't yet in a realistic format. We'll be fixing that soon.

Related issue: elastic/endpoint-app-team#30

* Resolver test plugin not using mount context. (#54933)

Mount context was deprecated. Use core.getStartServices() instead.

* Resolver nonlinear zoom (#54936)

* [Endpoint] add Redux saga Middleware and app Store (#53906)

* Added saga library
* Initialize endpoint app redux store

* Resolver is overflow: hidden to prevent obscured elements from showing up (#55076)

* [Endpoint] Fix saga to start only after store is created and stopped on app unmount (#55245)

- added `stop()`/`start()` methods to the Saga Middleware creator factory
- adjust tests based on changes
- changed application `renderApp` to stop sagas when react app is unmounted

* Resolver zoom, pan, and center controls (#55221)

* Resolver zoom, pan, and center controls

* add tests, fix north panning

* fix type issue

* update west and east panning to behave like google maps

* [Endpoint] FIX: Increase tests `sleep` default duration back to 100ms (#55492)

Revert `sleep()` default duration, in the saga tests, back to 100ms in order to prevent intermittent failures during CI runs.

Fixes #55464
Fixes #55465

* [Endpoint] EMT-65: make endpoint data types common, restructure (#54772)

[Endpoint] EMT-65: make endpoint data types common, use schema changes

* Basic Functionality Alert List (#55800)

* sets up initial grid and data type

* data feeds in from backend but doesnt update

* sample data feeding in correctly

* Fix combineReducers issue by importing Redux type from 'redux' package

* Add usePageId hook that fires action when user navigates to page

* Strict typing for middleware

* addresses comments and uses better types

* move types to common/types.ts

* Move types to endpoint/types.ts, address PR comments

blah 2

Co-authored-by: Pedro Jaramillo <peluja1012@gmail.com>

* [Endpoint] Add Endpoint Details route (#55746)

* Add Endpoint Details route

* add Endpoint Details tests

* sacrifices to the Type gods

* update to latest endpoint schema

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

* [Endpoint] EMT-67: add kql support for endpoint list (#56328)

[Endpoint] EMT-67: add kql support for endpoint list

* [Endpoint] ERT-82 ERT-83 ERT-84: Alert list API with pagination (#56538)

* ERT-82 ERT-83 ERT-84 (partial): Add Alert List API with pagination

* Better type safety for alert list API

* Add Test to Verify Endpoint App Landing Page (#57129)

 Conflicts:
	x-pack/test/functional/page_objects/index.ts

* fixes render bug in alert list (#57152)

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

* Resolver: Animate camera, add sidebar (#55590)

This PR adds a sidebar navigation. clicking the icons in the nav will focus the camera on the different nodes. There is an animation effect when the camera moves.

 Conflicts:
	yarn.lock

* [Endpoint] Task/basic endpoint list (#55623)

* Adds host management list to endpoint security plugin

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

* [Endpoint] Policy List UI route and initial view (#56918)

* Initial Policy List view

* Add `endpoint/policy` route and displays Policy List
* test cases (both unit and functional)

Does not yet interact with API (Ingest).

* Add ApplicationService app status management (#50223)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

* Implements `getStartServices` on server-side (#55156)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

* [ui/utils/query_string]: Remove unused methods & migrate apps to querystring lib (#56957)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: nnamdifrankie <56440728+nnamdifrankie@users.noreply.github.com>
Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
Co-authored-by: Pedro Jaramillo <peluja1012@gmail.com>
Co-authored-by: Dan Panzarella <pzl@users.noreply.github.com>
Co-authored-by: Madison Caldwell <madison.rey.caldwell@gmail.com>
Co-authored-by: Charlie Pichette <56399229+charlie-pichette@users.noreply.github.com>
Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com>
Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Endpoint Elastic Endpoint feature release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Response Endpoint Response Team v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants