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

[ftr/docker-services] Use docker services in epm_api_integration suite #68172

Closed
wants to merge 5 commits into from

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jun 3, 2020

From @skh in spalger#34:

Experimental

Implements #61699

To run:

in the x-pack directory, run:

$ export INGEST_MANAGEMENT_PACKAGE_REGISTRY_PORT=12345
$ node scripts/functional_tests_server.js --config test/epm_api_integration/config.ts

In the main kibana directory, run

$ export INGEST_MANAGEMENT_PACKAGE_REGISTRY_PORT=12345
$ node scripts/functional_test_runner.js --config x-pack/test/epm_api_integration/config.ts

Port 12345 is used as an example here, it can be anything, but the environment variable has to be present for the tests to run at all.

Changes

Adds a test that uses the DockerServerService to x-pack/test/epm_api_integration and disables all other tests in that directory for now (These aren't currently run in CI, see #67943).

@spalger spalger force-pushed the implement/ingest-docker-servers branch from 4fe83db to 13acb78 Compare June 17, 2020 04:25
@spalger spalger force-pushed the implement/ftr-docker-servers branch from 7555bde to 5a5038c Compare June 17, 2020 04:25
@spalger spalger force-pushed the implement/ingest-docker-servers branch 3 times, most recently from 708bd17 to 36b19aa Compare June 18, 2020 00:13
@tylersmalley
Copy link
Contributor

tylersmalley commented Jun 18, 2020

I found this helpful when looking at the changes introduced in this PR before the other branch is merged: implement/ftr-docker-servers...implement/ingest-docker-servers

@spalger spalger force-pushed the implement/ingest-docker-servers branch from 3db850d to 4d82a76 Compare June 18, 2020 20:17
Base automatically changed from implement/ftr-docker-servers to master June 18, 2020 22:24
@spalger spalger force-pushed the implement/ingest-docker-servers branch from 4d82a76 to 4426ead Compare June 18, 2020 22:28
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/endpoint/alerts/index·ts.apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:08:47]           └-: Endpoint plugin
[00:08:47]             └-> "before all" hook
[00:08:47]             └-> "before all" hook
[00:08:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:48]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:50]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/zUNVVuaxQHypWRjFqBNiNA] update_mapping [_doc]
[00:08:52]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] updated role [fleet_enroll]
[00:08:52]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] updated user [fleet_enroll]
[00:08:57]             └-: Endpoint alert API
[00:08:57]               └-> "before all" hook
[00:08:57]               └-: when data is in elasticsearch
[00:08:57]                 └-> "before all" hook
[00:08:57]                 └-> "before all" hook
[00:08:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.metadata-default-1-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.metadata], shards [1]/[1], mappings [_doc]
[00:08:57]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [metrics-endpoint.metadata-default-1]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.metadata-default-1-000001/GNQ8Sq30Q8GUy0jkou4XTg] update_mapping [_doc]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.policy-default-1-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.policy], shards [1]/[1], mappings [_doc]
[00:08:57]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [metrics-endpoint.policy-default-1]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.policy-default-1-000001/ZPit4Hw6RP6tWwgwSPSgDw] update_mapping [_doc]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics-default]
[00:08:57]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001] creating index, cause [initialize_data_stream], templates [events-endpoint], shards [1]/[1], mappings [_doc]
[00:08:57]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [events-endpoint-1]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [events-default]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [events-default]
[00:08:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/glyWYcSGSGaOKmO0GwyJ_g] update_mapping [_doc]
[00:08:57]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [events-default]
[00:08:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/glyWYcSGSGaOKmO0GwyJ_g] update_mapping [_doc]
[00:08:57]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/glyWYcSGSGaOKmO0GwyJ_g] update_mapping [_doc]
[00:09:02]                 └-> should not support POST requests
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (37ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should not support POST requests"
[00:09:02]                 └-> should return one entry for each alert with default paging
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (21ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return one entry for each alert with default paging"
[00:09:02]                 └-> should return the page_size and page_index specified in the query params
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (14ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return the page_size and page_index specified in the query params"
[00:09:02]                 └-> should return 400 when paging properties are less than 1
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (42ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return 400 when paging properties are less than 1"
[00:09:02]                 └-> should return working link to the next page using cursor-based pagination
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (33ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return working link to the next page using cursor-based pagination"
[00:09:02]                 └-> should return working link to the prev page using cursor-based pagination
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (37ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return working link to the prev page using cursor-based pagination"
[00:09:02]                 └-> should return no results when `before` is requested past beginning of first page
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (32ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return no results when `before` is requested past beginning of first page"
[00:09:02]                 └-> should return no results when `after` is requested past end of last page, descending
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (32ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return no results when `after` is requested past end of last page, descending"
[00:09:02]                 └-> alerts api should return data using `before` by custom sort parameter, descending
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (18ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` by custom sort parameter, descending"
[00:09:02]                 └-> alerts api should return data using `before` on undefined primary sort values by custom sort parameter, descending
[00:09:02]                   └-> "before each" hook: global before each
[00:09:02]                   └- ✓ pass  (20ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, descending"
[00:09:02]                 └-> alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending
[00:09:02]                   └-> "before each" hook: global before each
[00:09:03]                   └- ✖ fail: "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending"
[00:09:03]                   │

Stack Trace

{ Error: expected false to sort of equal true
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/api_integration/apis/endpoint/alerts/index.ts:327:26) actual: 'false', expected: 'true', showDiff: true }

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/endpoint/alerts/index·ts.apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:09:37]           └-: Endpoint plugin
[00:09:37]             └-> "before all" hook
[00:09:37]             └-> "before all" hook
[00:09:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:40]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.kibana_2/Pd-Q-SnzT4GKFadM6dCrfg] update_mapping [_doc]
[00:09:42]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] updated role [fleet_enroll]
[00:09:42]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] updated user [fleet_enroll]
[00:09:48]             └-: Endpoint alert API
[00:09:48]               └-> "before all" hook
[00:09:48]               └-: when data is in elasticsearch
[00:09:48]                 └-> "before all" hook
[00:09:48]                 └-> "before all" hook
[00:09:48]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.metadata-default-1-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.metadata], shards [1]/[1], mappings [_doc]
[00:09:48]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [metrics-endpoint.metadata-default-1]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.metadata-default-1-000001/9Sv-zKEVQ1WoLprsl7z1Sg] update_mapping [_doc]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.metadata-default-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.policy-default-1-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.policy], shards [1]/[1], mappings [_doc]
[00:09:48]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [metrics-endpoint.policy-default-1]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-metrics-endpoint.policy-default-1-000001/Ol5Qct0QR5CWSz7HNehK6w] update_mapping [_doc]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-metrics-endpoint.policy-default-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [metrics-default]
[00:09:48]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001] creating index, cause [initialize_data_stream], templates [events-endpoint], shards [1]/[1], mappings [_doc]
[00:09:48]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] adding data stream [events-endpoint-1]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [events-default]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [events-default]
[00:09:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/9h_IhDCrSzydd-PbCABuqg] update_mapping [_doc]
[00:09:48]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] moving index [.ds-events-endpoint-1-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [events-default]
[00:09:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/9h_IhDCrSzydd-PbCABuqg] update_mapping [_doc]
[00:09:48]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1592519607381168078] [.ds-events-endpoint-1-000001/9h_IhDCrSzydd-PbCABuqg] update_mapping [_doc]
[00:09:53]                 └-> should not support POST requests
[00:09:53]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (44ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should not support POST requests"
[00:09:54]                 └-> should return one entry for each alert with default paging
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (27ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return one entry for each alert with default paging"
[00:09:54]                 └-> should return the page_size and page_index specified in the query params
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (20ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return the page_size and page_index specified in the query params"
[00:09:54]                 └-> should return 400 when paging properties are less than 1
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (51ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return 400 when paging properties are less than 1"
[00:09:54]                 └-> should return working link to the next page using cursor-based pagination
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (47ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return working link to the next page using cursor-based pagination"
[00:09:54]                 └-> should return working link to the prev page using cursor-based pagination
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (44ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return working link to the prev page using cursor-based pagination"
[00:09:54]                 └-> should return no results when `before` is requested past beginning of first page
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (44ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return no results when `before` is requested past beginning of first page"
[00:09:54]                 └-> should return no results when `after` is requested past end of last page, descending
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (42ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch should return no results when `after` is requested past end of last page, descending"
[00:09:54]                 └-> alerts api should return data using `before` by custom sort parameter, descending
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (23ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` by custom sort parameter, descending"
[00:09:54]                 └-> alerts api should return data using `before` on undefined primary sort values by custom sort parameter, descending
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✓ pass  (21ms) "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, descending"
[00:09:54]                 └-> alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending
[00:09:54]                   └-> "before each" hook: global before each
[00:09:54]                   └- ✖ fail: "apis Endpoint plugin Endpoint alert API when data is in elasticsearch alerts api should return data using `before` on undefined primary sort values by custom sort parameter, ascending"
[00:09:54]                   │

Stack Trace

{ Error: expected false to sort of equal true
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/api_integration/apis/endpoint/alerts/index.ts:327:26) actual: 'false', expected: 'true', showDiff: true }

Build metrics

✅ unchanged

History

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

@spalger
Copy link
Contributor Author

spalger commented Jun 29, 2020

Replaced by #69822

@spalger spalger closed this Jun 29, 2020
@spalger spalger deleted the implement/ingest-docker-servers branch June 29, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants