Skip to content

Conversation

@jloleysens
Copy link
Contributor

Backports the following commits to 7.x:

* First iteration of supporting hidden indices in indices table

Tests probably have broken

* Remove unused code

* Fix logic when calling get index endpoint with empty array

Also remove unused translations

* More terse!

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@jloleysens jloleysens added the backport This PR is a backport of another PR label May 15, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/certificates·ts.Uptime app with generated data certificates can navigate to cert page

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Uptime app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: with generated data
[00:00:00]             └-> "before all" hook
[00:01:26]             └-: certificates
[00:01:26]               └-> "before all" hook
[00:01:26]               └-> can navigate to cert page
[00:01:26]                 └-> "before each" hook: global before each
[00:01:26]                 └-> "before each" hook: delete settings
[00:01:26]                   │ debg Deleting saved object [object Object]/%s
[00:01:27]                 └-> "before each" hook: load heartbeat data
[00:01:27]                   │ info [uptime/blank] Loading "mappings.json"
[00:01:27]                   │ info [uptime/blank] Loading "data.json"
[00:01:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1589540886997312435] applying create index request using v1 templates []
[00:01:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1589540886997312435] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:27]                   │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:27]                   │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:27]                 └-> "before each" hook
[00:01:27]                   │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:27]                   │ debg TestSubjects.click(uptimeSettingsToOverviewLink)
[00:01:27]                   │ debg Find.clickByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:27]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:28]                   │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:01:28]                   │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:28]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:28]                   │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:28]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:28]                 │ debg TestSubjects.exists(uptimeCertificatesLink)
[00:01:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=120000
[00:01:28]                 │ debg TestSubjects.click(uptimeCertificatesLink)
[00:01:28]                 │ debg Find.clickByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=10000
[00:01:28]                 │ debg Find.findByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=10000
[00:01:29]                 │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=120000
[00:01:31]                 │ debg --- retry.tryForTime error: [data-test-subj="uptimeCertificatesPage"] is not displayed
[00:01:34]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:08]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:11]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:17]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:20]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:23]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:26]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:29]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:32]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:35]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:09]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:12]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:15]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:18]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:21]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:24]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:27]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:30]                 │ debg --- retry.tryForTime failed again with the same message...
[00:03:30]                 │ debg --- retry.tryForTime error: expected testSubject(uptimeCertificatesPage) to exist
[00:03:31]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Uptime app with generated data certificates can navigate to cert page.png"
[00:03:31]                 │ info Current URL is: http://localhost:6171/app/uptime#/
[00:03:31]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Uptime app with generated data certificates can navigate to cert page.html
[00:03:31]                 └- ✖ fail: "Uptime app with generated data certificates can navigate to cert page"
[00:03:31]                 │

Stack Trace

Error: retry.tryForTime timeout: Error: expected testSubject(uptimeCertificatesPage) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:62:15)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

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

@jloleysens jloleysens merged commit 88d9108 into elastic:7.x May 16, 2020
@jloleysens jloleysens deleted the backport/7.x/pr-66422 branch May 16, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants