Skip to content

Fixed pre-configured docs link points to the wrong page and functional tests configs#68606

Merged
YulNaumenko merged 2 commits intoelastic:masterfrom
YulNaumenko:alerting-docs-fix-preconfigured-slack-example
Jun 9, 2020
Merged

Fixed pre-configured docs link points to the wrong page and functional tests configs#68606
YulNaumenko merged 2 commits intoelastic:masterfrom
YulNaumenko:alerting-docs-fix-preconfigured-slack-example

Conversation

@YulNaumenko
Copy link
Contributor

Resolve #68393 and #68469

@YulNaumenko YulNaumenko added release_note:fix Feature:Alerting v8.0.0 Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.8.0 v7.8.1 labels Jun 9, 2020
@YulNaumenko YulNaumenko requested a review from a team as a code owner June 9, 2020 00:18
@YulNaumenko YulNaumenko self-assigned this Jun 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@YulNaumenko YulNaumenko linked an issue Jun 9, 2020 that may be closed by this pull request
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/fleet/unenroll_agent·ts.apis Fleet Endpoints fleet_unenroll_agent allow to unenroll using a list of ids

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:08:23]           └-: Fleet Endpoints
[00:08:23]             └-> "before all" hook
[00:08:30]             └-: fleet_unenroll_agent
[00:08:30]               └-> "before all" hook
[00:08:30]               └-> "before all" hook
[00:08:30]                 │ info [fleet/agents] Loading "mappings.json"
[00:08:30]                 │ info [fleet/agents] Loading "data.json"
[00:08:30]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/tj64ay_hQdatBLgbCGpOwQ] deleting index
[00:08:30]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_1/EOH5IE3iSJ2wXFqAnOFHFw] deleting index
[00:08:30]                 │ info [fleet/agents] Deleted existing index [".kibana_2",".kibana_1"]
[00:08:30]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:08:30]                 │ info [fleet/agents] Created index ".kibana_1"
[00:08:30]                 │ debg [fleet/agents] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:08:30]                 │ info [fleet/agents] Indexed 12 docs into ".kibana"
[00:08:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_1/1z7BggQRQ42KjT76_1H4Qg] update_mapping [_doc]
[00:08:30]                 │ debg Migrating saved objects
[00:08:31]                 │ proc [kibana]   log   [05:10:17.424] [info][savedobjects-service] Creating index .kibana_2.
[00:08:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] updating number_of_replicas to [0] for indices [.kibana_2]
[00:08:31]                 │ proc [kibana]   log   [05:10:17.495] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:08:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:31]                 │ proc [kibana]   log   [05:10:17.558] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:08:31]                 │ proc [kibana]   log   [05:10:17.611] [info][savedobjects-service] Finished in 189ms.
[00:08:31]               └-> "before all" hook
[00:08:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [events-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:08:32]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index lifecycle policy [metrics-default]
[00:08:32]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index lifecycle policy [logs-default]
[00:08:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:32]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index lifecycle policy [events-default]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [events-settings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [logs-mappings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [logs-settings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [metrics-settings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [events-mappings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding component template [metrics-mappings]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [metrics-endpoint.telemetry]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [metrics-endpoint.policy]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [metrics-endpoint.metadata]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [events-endpoint]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [events]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [metrics]
[00:08:32]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] adding index template [logs]
[00:08:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1591675750652245911] [.kibana_2/Eg2GVrUUQoa7p6ca3ejd6Q] update_mapping [_doc]
[00:08:32]                 │ proc [kibana]   log   [05:10:18.926] [error][ingestManager][plugins] Error connecting to package registry at https://epr.elastic.co/epr/system/system-0.1.0.tar.gz: Error connecting to package registry at https://epr.elastic.co/epr/system/system-0.1.0.tar.gz: Backend unavailable, connection timeout
[00:08:34]               └-> allow to unenroll using a list of ids
[00:08:34]                 └-> "before each" hook: global before each
[00:08:34]                 └-> "before each" hook
[00:08:34]                   │ proc [kibana]  error  [05:10:18.980]  Error: Internal Server Error
[00:08:34]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:132:19)
[00:08:34]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:86:19)
[00:08:34]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:81:17)
[00:08:34]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:160:34)
[00:08:34]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:08:35]                 └- ✖ fail: "apis Fleet Endpoints fleet_unenroll_agent allow to unenroll using a list of ids"
[00:08:35]                 │

Stack Trace

Error: expected 200 "OK", got 500 "Internal Server Error"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

History

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

Copy link
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@gmmorris gmmorris left a comment

Choose a reason for hiding this comment

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

👍

@YulNaumenko YulNaumenko merged commit f6e93a1 into elastic:master Jun 9, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 9, 2020
* master: (37 commits)
  [DOCS] Adds documentation for drilldowns (elastic#68122)
  [Telemetry] telemetry.sendUsageFrom: "server" by default (elastic#68071)
  [ML] Transforms: Support sub-aggregations (elastic#68306)
  Fixed pre-configured docs link points to the wrong page and functional tests configs (elastic#68606)
  [Ingest Manager] Update queries from `stream.*` to `dataset.*` (elastic#68322)
  Enable Watcher by default to fix bug in which Watcher doesn't render in the side nav (elastic#68602)
  Convert Index Templates API routes to snakecase. (elastic#68463)
  [SECURITY SOLUTION] [Detections] Add / Update e2e tests to ensure initial rule runs are successful (elastic#68441)
  [Ingest] OpenAPI spec file (elastic#68323)
  chore(NA): skip apis Endpoint plugin Endpoint policy api (elastic#68638)
  bumping makelogs version to v6.0.0 (elastic#66163)
  [SIEM] Add create template button (elastic#66613)
  Bump websocket-extensions from 0.1.3 to 0.1.4 (elastic#68414)
  [ML] Sample data modules - use event.dataset instead of index name (elastic#68538)
  [ML] Functional tests - fix job validation API test with maxModelMemoryLimit (elastic#68501)
  [ML] Functional tests - stabilize DFA job creation (elastic#68495)
  [TSVB] Allows the user to change the tooltip mode (elastic#67775)
  chore(NA): skip apis Endpoint plugin Endpoint alert API when data is in elasticsearch (elastic#68613)
  chore(NA): skip endpoint Endpoint Alert Page: when es has data and user has navigated to the page (elastic#68596)
  [SIEM][Detection Engine] Converts from joi to use io-ts and moves the types to common  (elastic#68127)
  ...
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Jun 9, 2020
…l tests configs (elastic#68606)

* Fixed pre-configured docs link points to the wrong page and functional tests configs

* Fixed doc link
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Jun 9, 2020
…l tests configs (elastic#68606)

* Fixed pre-configured docs link points to the wrong page and functional tests configs

* Fixed doc link
YulNaumenko added a commit that referenced this pull request Jun 9, 2020
…l tests configs (#68606) (#68680)

* Fixed pre-configured docs link points to the wrong page and functional tests configs

* Fixed doc link
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Jun 10, 2020
…l tests configs (elastic#68606)

* Fixed pre-configured docs link points to the wrong page and functional tests configs

* Fixed doc link
YulNaumenko added a commit that referenced this pull request Jun 10, 2020
…l tests configs (#68606) (#68786)

* Fixed pre-configured docs link points to the wrong page and functional tests configs

* Fixed doc link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Alerting release_note:fix Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v7.8.0 v7.8.1 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS][Alerting] Wrong setting in preconfigured connectors example [Alerting] Pre-configured docs link points to the wrong page

5 participants