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

[basePathProxy] include query in redirect #84356

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Nov 25, 2020

The basePathProxy attempts to preserve your url and redirect you to the correct basePath when you restart the dev server and a new basePath is in use. The redirect doing this doesn't preserve the query string in the url until now, but with this change it will.

@spalger spalger added Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 Team:Platform labels Nov 25, 2020
@spalger spalger requested a review from a team as a code owner November 25, 2020 17:31
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts alerts "before all" hook in "alerts"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:00]             │ debg created space
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating user no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [no_kibana_privileges]
[00:00:02]             │ debg created user no_kibana_privileges
[00:00:02]             │ debg creating role no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [no_kibana_privileges]
[00:00:02]             │ debg creating user superuser
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [superuser]
[00:00:02]             │ debg created user superuser
[00:00:02]             │ debg creating user global_read
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [global_read]
[00:00:02]             │ debg created user global_read
[00:00:02]             │ debg creating role global_read_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [global_read_role]
[00:00:02]             │ debg creating user space_1_all
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all]
[00:00:02]             │ debg created user space_1_all
[00:00:02]             │ debg creating role space_1_all_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_role]
[00:00:02]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_with_restricted_fixture]
[00:00:02]             │ debg created user space_1_all_with_restricted_fixture
[00:00:02]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_with_restricted_fixture_role]
[00:00:03]             │ debg creating user space_1_all_alerts_none_actions
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_alerts_none_actions]
[00:00:03]             │ debg created user space_1_all_alerts_none_actions
[00:00:03]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_alerts_none_actions_role]
[00:04:00]           └-: Alerts
[00:04:00]             └-> "before all" hook
[00:35:20]             └-: alerts
[00:35:20]               └-> "before all" hook
[00:35:20]               └-> "before all" hook
[00:35:20]                 │ info [alerts_legacy] Loading "mappings.json"
[00:35:20]                 │ info [alerts_legacy] Loading "data.json"
[00:35:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1/xgKbLsQUQ02cwH2BSYZTjA] deleting index
[00:35:20]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:35:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:35:20]                 │ info [alerts_legacy] Created index ".kibana_1"
[00:35:20]                 │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:35:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_task_manager_1/1f4NRiD0QeS4vPBAP9_6vg] deleting index
[00:35:21]                 │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:35:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:35:21]                 │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:35:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1/IzEJnoi-REqjlaNEONcPbQ] deleting index
[00:35:21]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:35:21]                 └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "before all" hook in "alerts"
[00:35:21]                 │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="LZH_ly6-Q92rcb2wuRodNw" & index=".kibana_task_manager" }
[00:35:21]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:35:21]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:35:21]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:35:21]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:35:21]                 │       at endReadableNT (_stream_readable.js:1223:12)
[00:35:21]                 │       at processTicksAndRejections (internal/process/task_queues.js:84:21)
[00:35:21]                 │ 
[00:35:21]                 │ 

Stack Trace

StatusCodeError: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="LZH_ly6-Q92rcb2wuRodNw" & index=".kibana_task_manager" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1223:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  status: 400,
  displayName: 'BadRequest',
  path: '/.kibana_task_manager_1',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'invalid_alias_name_exception',
      reason: 'Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias',
      index_uuid: 'LZH_ly6-Q92rcb2wuRodNw',
      index: '.kibana_task_manager'
    },
    status: 400
  },
  statusCode: 400,
  response: '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"LZH_ly6-Q92rcb2wuRodNw","index":".kibana_task_manager"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias","index_uuid":"LZH_ly6-Q92rcb2wuRodNw","index":".kibana_task_manager"},"status":400}',
  toString: [Function],
  toJSON: [Function]
}

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy·ts.alerting api integration security and spaces enabled Alerts alerts "after all" hook in "alerts"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:00]             │ debg created space
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating user no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [no_kibana_privileges]
[00:00:02]             │ debg created user no_kibana_privileges
[00:00:02]             │ debg creating role no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [no_kibana_privileges]
[00:00:02]             │ debg creating user superuser
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [superuser]
[00:00:02]             │ debg created user superuser
[00:00:02]             │ debg creating user global_read
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [global_read]
[00:00:02]             │ debg created user global_read
[00:00:02]             │ debg creating role global_read_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [global_read_role]
[00:00:02]             │ debg creating user space_1_all
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all]
[00:00:02]             │ debg created user space_1_all
[00:00:02]             │ debg creating role space_1_all_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_role]
[00:00:02]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_with_restricted_fixture]
[00:00:02]             │ debg created user space_1_all_with_restricted_fixture
[00:00:02]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_with_restricted_fixture_role]
[00:00:03]             │ debg creating user space_1_all_alerts_none_actions
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_alerts_none_actions]
[00:00:03]             │ debg created user space_1_all_alerts_none_actions
[00:00:03]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_alerts_none_actions_role]
[00:04:00]           └-: Alerts
[00:04:00]             └-> "before all" hook
[00:35:20]             └-: alerts
[00:35:20]               └-> "before all" hook
[00:35:20]               └-> "before all" hook
[00:35:20]                 │ info [alerts_legacy] Loading "mappings.json"
[00:35:20]                 │ info [alerts_legacy] Loading "data.json"
[00:35:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1/xgKbLsQUQ02cwH2BSYZTjA] deleting index
[00:35:20]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:35:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:35:20]                 │ info [alerts_legacy] Created index ".kibana_1"
[00:35:20]                 │ debg [alerts_legacy] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:35:20]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_task_manager_1/1f4NRiD0QeS4vPBAP9_6vg] deleting index
[00:35:21]                 │ info [alerts_legacy] Deleted existing index ".kibana_task_manager_1"
[00:35:21]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_task_manager] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:35:21]                 │ info failed to create aliases [{ '.kibana_task_manager': {} }] because ES indicated an index/alias already exists, trying again
[00:35:21]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] [.kibana_1/IzEJnoi-REqjlaNEONcPbQ] deleting index
[00:35:21]                 │ info [alerts_legacy] Deleted existing index [".kibana_1"]
[00:35:21]                 └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "before all" hook in "alerts"
[00:35:21]                 │      Error: [invalid_alias_name_exception] Invalid alias name [.kibana_task_manager], an index exists with the same name as the alias, with { index_uuid="LZH_ly6-Q92rcb2wuRodNw" & index=".kibana_task_manager" }
[00:35:21]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:35:21]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:35:21]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:35:21]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:35:21]                 │       at endReadableNT (_stream_readable.js:1223:12)
[00:35:21]                 │       at processTicksAndRejections (internal/process/task_queues.js:84:21)
[00:35:21]                 │ 
[00:35:21]                 │ 
[00:35:21]                 └-> "after all" hook
[00:35:21]                   └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts "after all" hook in "alerts"
[00:35:21]                   │      Error: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
[00:35:21]                   │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:35:21]                   │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:35:21]                   │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:35:21]                   │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:35:21]                   │       at endReadableNT (_stream_readable.js:1223:12)
[00:35:21]                   │       at processTicksAndRejections (internal/process/task_queues.js:84:21)
[00:35:21]                   │ 
[00:35:21]                   │ 

Stack Trace

StatusCodeError: [index_not_found_exception] no such index [.kibana-test-authorization], with { resource.type="index_or_alias" & resource.id=".kibana-test-authorization" & index_uuid="_na_" & index=".kibana-test-authorization" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1223:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  status: 404,
  displayName: 'NotFound',
  path: '/.kibana-test-authorization',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'index_not_found_exception',
      reason: 'no such index [.kibana-test-authorization]',
      'resource.type': 'index_or_alias',
      'resource.id': '.kibana-test-authorization',
      index_uuid: '_na_',
      index: '.kibana-test-authorization'
    },
    status: 404
  },
  statusCode: 404,
  response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"}],"type":"index_not_found_exception","reason":"no such index [.kibana-test-authorization]","resource.type":"index_or_alias","resource.id":".kibana-test-authorization","index_uuid":"_na_","index":".kibana-test-authorization"},"status":404}',
  toString: [Function],
  toJSON: [Function]
}

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/index·ts.alerting api integration security and spaces enabled "after all" hook in "alerting api integration security and spaces enabled"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating space
[00:00:00]             │ debg created space
[00:00:00]             │ debg creating space
[00:00:01]             │ debg created space
[00:00:01]             │ debg creating space
[00:00:02]             │ debg created space
[00:00:02]             │ debg creating user no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [no_kibana_privileges]
[00:00:02]             │ debg created user no_kibana_privileges
[00:00:02]             │ debg creating role no_kibana_privileges
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [no_kibana_privileges]
[00:00:02]             │ debg creating user superuser
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [superuser]
[00:00:02]             │ debg created user superuser
[00:00:02]             │ debg creating user global_read
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [global_read]
[00:00:02]             │ debg created user global_read
[00:00:02]             │ debg creating role global_read_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [global_read_role]
[00:00:02]             │ debg creating user space_1_all
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all]
[00:00:02]             │ debg created user space_1_all
[00:00:02]             │ debg creating role space_1_all_role
[00:00:02]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_role]
[00:00:02]             │ debg creating user space_1_all_with_restricted_fixture
[00:00:02]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_with_restricted_fixture]
[00:00:02]             │ debg created user space_1_all_with_restricted_fixture
[00:00:02]             │ debg creating role space_1_all_with_restricted_fixture_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_with_restricted_fixture_role]
[00:00:03]             │ debg creating user space_1_all_alerts_none_actions
[00:00:03]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added user [space_1_all_alerts_none_actions]
[00:00:03]             │ debg created user space_1_all_alerts_none_actions
[00:00:03]             │ debg creating role space_1_all_alerts_none_actions_role
[00:00:03]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1606325534175376847] added role [space_1_all_alerts_none_actions_role]
[00:35:21]               └-> "after all" hook
[00:35:21]                 │ debg deleting user no_kibana_privileges
[00:35:21]                 │ debg deleted user no_kibana_privileges
[00:35:21]                 │ debg deleting role no_kibana_privileges
[00:35:21]                 │ debg deleting user superuser
[00:35:21]                 │ debg deleted user superuser
[00:35:21]                 │ debg deleting user global_read
[00:35:21]                 │ debg deleted user global_read
[00:35:21]                 │ debg deleting role global_read_role
[00:35:21]                 │ debg deleting user space_1_all
[00:35:21]                 │ debg deleted user space_1_all
[00:35:21]                 │ debg deleting role space_1_all_role
[00:35:21]                 │ debg deleting user space_1_all_with_restricted_fixture
[00:35:21]                 │ debg deleted user space_1_all_with_restricted_fixture
[00:35:21]                 │ debg deleting role space_1_all_with_restricted_fixture_role
[00:35:21]                 │ debg deleting user space_1_all_alerts_none_actions
[00:35:21]                 │ debg deleted user space_1_all_alerts_none_actions
[00:35:21]                 │ debg deleting role space_1_all_alerts_none_actions_role
[00:35:21]                 │ info [empty_kibana] Unloading indices from "mappings.json"
[00:35:21]                 └- ✖ fail: alerting api integration security and spaces enabled "after all" hook in "alerting api integration security and spaces enabled"
[00:35:21]                 │      Error: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
[00:35:21]                 │       at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:35:21]                 │       at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:35:21]                 │       at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:35:21]                 │       at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
[00:35:21]                 │       at endReadableNT (_stream_readable.js:1223:12)
[00:35:21]                 │       at processTicksAndRejections (internal/process/task_queues.js:84:21)
[00:35:21]                 │ 
[00:35:21]                 │ 

Stack Trace

StatusCodeError: [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="_na_" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1223:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  status: 404,
  displayName: 'NotFound',
  path: '/.kibana/_delete_by_query',
  query: {},
  body: {
    error: {
      root_cause: [Array],
      type: 'index_not_found_exception',
      reason: 'no such index [.kibana]',
      'resource.type': 'index_or_alias',
      'resource.id': '.kibana',
      index_uuid: '_na_',
      index: '.kibana'
    },
    status: 404
  },
  statusCode: 404,
  response: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"}],"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"_na_","index":".kibana"},"status":404}',
  toString: [Function],
  toJSON: [Function]
}

Metrics [docs]

✅ unchanged

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

@spalger spalger merged commit 5c57f3d into elastic:master Nov 25, 2020
@spalger spalger deleted the fix/base-path-proxy-redirect branch November 25, 2020 20:35
spalger added a commit to spalger/kibana that referenced this pull request Nov 25, 2020
Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit that referenced this pull request Nov 25, 2020
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 26, 2020
* master: (70 commits)
  [Uptime] Fix headers io-ts type (elastic#84089)
  [fleet] Add config options to accepted docker env vars (elastic#84338)
  [Fleet] Support URL query state in agent logs UI (elastic#84298)
  [basePathProxy] include query in redirect (elastic#84356)
  [Security Solution] Add Endpoint policy feature checks (elastic#83972)
  Fix issues with show_license_expiration (elastic#84361)
  [Security Solution][Resolver] Add support for predefined schemas for endpoint and winlogbeat (elastic#84103)
  [cli/dev] log a warning when --no-base-path is used with --dev (elastic#84354)
  [Fleet] Support input-level vars & templates (elastic#83878)
  [APM] Elastic chart issues (elastic#84238)
  [Time to Visualize] Fix Unlink Action via Rollback of ReplacePanel (elastic#83873)
  redirect to visualize listing page when by value visualization editor doesn't have a value input (elastic#84287)
  add live region for field search (elastic#84310)
  [ML] Persisted URL state for Anomalies table (elastic#84314)
  [dev/cli] detect worker type using env, not cluster module (elastic#83977)
  [Workplace Search] Migrate DisplaySettings tree (elastic#84283)
  Deprecate `xpack.task_manager.index` setting (elastic#84155)
  [Search] Search batching using bfetch (again) (elastic#84043)
  Use .kibana instead of .kibana_current to mark migration completion (elastic#83373)
  [Monitoring] Only look at ES for the missing data alert for now (elastic#83839)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 26, 2020
* master: (119 commits)
  [Uptime] Fix headers io-ts type (elastic#84089)
  [fleet] Add config options to accepted docker env vars (elastic#84338)
  [Fleet] Support URL query state in agent logs UI (elastic#84298)
  [basePathProxy] include query in redirect (elastic#84356)
  [Security Solution] Add Endpoint policy feature checks (elastic#83972)
  Fix issues with show_license_expiration (elastic#84361)
  [Security Solution][Resolver] Add support for predefined schemas for endpoint and winlogbeat (elastic#84103)
  [cli/dev] log a warning when --no-base-path is used with --dev (elastic#84354)
  [Fleet] Support input-level vars & templates (elastic#83878)
  [APM] Elastic chart issues (elastic#84238)
  [Time to Visualize] Fix Unlink Action via Rollback of ReplacePanel (elastic#83873)
  redirect to visualize listing page when by value visualization editor doesn't have a value input (elastic#84287)
  add live region for field search (elastic#84310)
  [ML] Persisted URL state for Anomalies table (elastic#84314)
  [dev/cli] detect worker type using env, not cluster module (elastic#83977)
  [Workplace Search] Migrate DisplaySettings tree (elastic#84283)
  Deprecate `xpack.task_manager.index` setting (elastic#84155)
  [Search] Search batching using bfetch (again) (elastic#84043)
  Use .kibana instead of .kibana_current to mark migration completion (elastic#83373)
  [Monitoring] Only look at ES for the missing data alert for now (elastic#83839)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 9, 2020
* master: (119 commits)
  [Uptime] Fix headers io-ts type (elastic#84089)
  [fleet] Add config options to accepted docker env vars (elastic#84338)
  [Fleet] Support URL query state in agent logs UI (elastic#84298)
  [basePathProxy] include query in redirect (elastic#84356)
  [Security Solution] Add Endpoint policy feature checks (elastic#83972)
  Fix issues with show_license_expiration (elastic#84361)
  [Security Solution][Resolver] Add support for predefined schemas for endpoint and winlogbeat (elastic#84103)
  [cli/dev] log a warning when --no-base-path is used with --dev (elastic#84354)
  [Fleet] Support input-level vars & templates (elastic#83878)
  [APM] Elastic chart issues (elastic#84238)
  [Time to Visualize] Fix Unlink Action via Rollback of ReplacePanel (elastic#83873)
  redirect to visualize listing page when by value visualization editor doesn't have a value input (elastic#84287)
  add live region for field search (elastic#84310)
  [ML] Persisted URL state for Anomalies table (elastic#84314)
  [dev/cli] detect worker type using env, not cluster module (elastic#83977)
  [Workplace Search] Migrate DisplaySettings tree (elastic#84283)
  Deprecate `xpack.task_manager.index` setting (elastic#84155)
  [Search] Search batching using bfetch (again) (elastic#84043)
  Use .kibana instead of .kibana_current to mark migration completion (elastic#83373)
  [Monitoring] Only look at ES for the missing data alert for now (elastic#83839)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team Team:Platform v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants