Skip to content

[7.7] changing duration type to ms, s, m (#62265)#62292

Merged
cauemarcondes merged 1 commit intoelastic:7.7from
cauemarcondes:backport/7.7/pr-62265
Apr 2, 2020
Merged

[7.7] changing duration type to ms, s, m (#62265)#62292
cauemarcondes merged 1 commit intoelastic:7.7from
cauemarcondes:backport/7.7/pr-62265

Conversation

@cauemarcondes
Copy link
Contributor

Backports the following commits to 7.7:

@cauemarcondes cauemarcondes added the backport This PR is a backport of another PR label Apr 2, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Accessibility Tests.test/accessibility/apps/management·ts.Management Create Index pattern wizard

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:05:17]         └-: Management
[00:05:17]           └-> "before all" hook
[00:05:17]           └-> "before all" hook
[00:05:17]             │ info [discover] Loading "mappings.json"
[00:05:17]             │ info [discover] Loading "data.json.gz"
[00:05:17]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_1/YD5ykN6eTxyAV9905CdAow] deleting index
[00:05:17]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2/2BrjZID9Q7Gkq8lOkGtczQ] deleting index
[00:05:17]             │ info [discover] Deleted existing index [".kibana_2",".kibana_1"]
[00:05:17]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:17]             │ info [discover] Created index ".kibana"
[00:05:17]             │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:17]             │ info [discover] Indexed 2 docs into ".kibana"
[00:05:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana/sWPuLdrmQYevmaBh16SulA] update_mapping [_doc]
[00:05:17]             │ debg Migrating saved objects
[00:05:17]             │ proc [kibana]   log   [11:19:03.731] [info][savedobjects-service] Creating index .kibana_2.
[00:05:17]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:17]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] updating number_of_replicas to [0] for indices [.kibana_2]
[00:05:17]             │ proc [kibana]   log   [11:19:03.802] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:05:17]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:17]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] updating number_of_replicas to [0] for indices [.kibana_1]
[00:05:17]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] 1934 finished with response BulkByScrollResponse[took=28ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:17]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana/sWPuLdrmQYevmaBh16SulA] deleting index
[00:05:17]             │ proc [kibana]   log   [11:19:04.161] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:05:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2/Na2WQcgYQouQDWMTk45tDg] update_mapping [_doc]
[00:05:18]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2/Na2WQcgYQouQDWMTk45tDg] update_mapping [_doc]
[00:05:18]             │ proc [kibana]   log   [11:19:04.236] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:05:18]             │ proc [kibana]   log   [11:19:04.275] [info][savedobjects-service] Finished in 546ms.
[00:05:18]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:05:18]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2/Na2WQcgYQouQDWMTk45tDg] update_mapping [_doc]
[00:05:19]             │ info [logstash_functional] Loading "mappings.json"
[00:05:19]             │ info [logstash_functional] Loading "data.json.gz"
[00:05:19]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:05:19]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:05:19]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:05:20]             │ debg applying update to kibana config: {"defaultIndex":"logstash-*"}
[00:05:20]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585824537793365036] [.kibana_2/Na2WQcgYQouQDWMTk45tDg] update_mapping [_doc]
[00:05:21]             │ debg navigating to settings url: http://localhost:61131/app/kibana#/management
[00:05:21]             │ debg Navigate to: http://localhost:61131/app/kibana#/management
[00:05:21]             │ debg ... sleep(700) start
[00:05:21]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1585826347824#/management 341 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:05:21]             │
[00:05:21]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:22]             │ debg ... sleep(700) end
[00:05:22]             │ debg returned from get, calling refresh
[00:05:23]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1585826347824#/management 341 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:05:23]             │
[00:05:23]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:23]             │ debg currentUrl = http://localhost:61131/app/kibana#/management
[00:05:23]             │          appUrl = http://localhost:61131/app/kibana#/management
[00:05:23]             │ debg TestSubjects.find(kibanaChrome)
[00:05:23]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:25]             │ debg TestSubjects.find(kibanaChrome)
[00:05:25]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:25]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-04-02T11:19:10Z
[00:05:25]             │        Adding connection to http://localhost:61131/elasticsearch
[00:05:25]             │
[00:05:25]             │      "
[00:05:25]             │ debg ... sleep(501) start
[00:05:25]             │ debg ... sleep(501) end
[00:05:25]             │ debg in navigateTo url = http://localhost:61131/app/kibana#/management?_g=()
[00:05:25]             │ debg TestSubjects.exists(statusPageContainer)
[00:05:25]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:28]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:28]           └-> main view
[00:05:28]             └-> "before each" hook: global before each
[00:05:29]             └- ✓ pass  (308ms) "Management main view"
[00:05:29]           └-> index pattern page
[00:05:29]             └-> "before each" hook: global before each
[00:05:29]             │ debg clickKibanaIndexPatterns link
[00:05:29]             │ debg TestSubjects.click(index_patterns)
[00:05:29]             │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:29]             │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:29]             │ debg isGlobalLoadingIndicatorVisible
[00:05:29]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:29]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:29]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:31]             │ debg --- retry.tryForTime failed again with the same message...
[00:05:32]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:32]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:32]             │ debg Waiting up to 20000ms for index pattern info flyout...
[00:05:32]             │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:05:32]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:05:34]             │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:05:35]             └- ✓ pass  (6.0s) "Management index pattern page"
[00:05:35]           └-> Single indexpattern view
[00:05:35]             └-> "before each" hook: global before each
[00:05:35]             │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:05:35]             └- ✓ pass  (379ms) "Management Single indexpattern view"
[00:05:35]           └-> Create Index pattern wizard
[00:05:35]             └-> "before each" hook: global before each
[00:05:35]             │ debg clickKibanaIndexPatterns link
[00:05:35]             │ debg TestSubjects.click(index_patterns)
[00:05:35]             │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:35]             │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:36]             │ debg isGlobalLoadingIndicatorVisible
[00:05:36]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:36]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:37]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:38]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:38]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:38]             │ debg Waiting up to 20000ms for index pattern info flyout...
[00:05:38]             │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:05:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:05:40]             │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:05:41]             │ debg TestSubjects.find(createIndexPatternButton)
[00:05:41]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:05:51]             │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/Management Create Index pattern wizard.png"
[00:05:51]             │ info Current URL is: http://localhost:61131/app/kibana#/management/kibana/index_patterns/logstash-*?_g=()&_a=(tab:indexedFields)
[00:05:51]             │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/Management Create Index pattern wizard.html
[00:05:51]             └- ✖ fail: "Management Create Index pattern wizard"
[00:05:51]             │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createIndexPatternButton"])
Wait timed out after 10047ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

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

@cauemarcondes cauemarcondes merged commit c029bb6 into elastic:7.7 Apr 2, 2020
@cauemarcondes cauemarcondes deleted the backport/7.7/pr-62265 branch April 2, 2020 12:53
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