Skip to content

[7.x] Add a new hello world plugin and adjust the welcome message. (#107789)#108182

Merged
stacey-gammon merged 3 commits intoelastic:7.xfrom
stacey-gammon:backport/7.x/pr-107789
Aug 11, 2021
Merged

[7.x] Add a new hello world plugin and adjust the welcome message. (#107789)#108182
stacey-gammon merged 3 commits intoelastic:7.xfrom
stacey-gammon:backport/7.x/pr-107789

Conversation

@stacey-gammon
Copy link
Copy Markdown

Backports the following commits to 7.x:

…#107789)

* Add a new hello world plugin and adjust the welcome message.

* update and move files

* Update CODEOWNERS

* add a tsconfig.json file

* update tsconfig.json

* fix type check

* address code review comments
# Conflicts:
#	.github/CODEOWNERS
@stacey-gammon stacey-gammon added the backport This PR is a backport of another PR label Aug 11, 2021
@stacey-gammon stacey-gammon enabled auto-merge (squash) August 11, 2021 11:57
@stacey-gammon
Copy link
Copy Markdown
Author

proc [tsc] examples/hello_world/public/plugin.tsx:10:66 - error TS6307: File '/dev/shm/workspace/parallel/9/kibana/src/core/public/index.ts' is not listed within the file list of project '/dev/shm/workspace/parallel/9/kibana/examples/hello_world/tsconfig.json'. Projects must list all files or use an 'include' pattern.
proc [tsc]
proc [tsc] 10 import { AppMountParameters, CoreSetup, CoreStart, Plugin } from '../../../src/core/public';

🤔 I think maybe the changes from #107981 is causing this issue.

Stacey Gammon added 2 commits August 11, 2021 08:50
Need to account for elastic#108139
Needed to add references
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/drag_and_drop·ts.lens app lens drag and drop tests basic drag and drop should construct the basic split xy chart

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:10:29]         └-: lens app
[00:10:29]           └-> "before all" hook in "lens app"
[00:10:29]           └-> "before all" hook in "lens app"
[00:10:29]             │ debg Starting lens before method
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:10:29]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.22/VWQQWhyZQDW7P0mLWk4WMQ] deleting index
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.22"
[00:10:29]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:10:29]             │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:10:29]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.20/frDDzy2LRsW8OFRoBz2AvA] deleting index
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.20"
[00:10:29]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:10:29]             │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:10:29]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.21/VJUAkQlSTyy6bV12hlG4hw] deleting index
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.21"
[00:10:29]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:10:29]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:10:29]             │ debg [x-pack/test/functional/es_archives/logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:10:29]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/-_s_wAWORw2AvSr3ttdLWw] update_mapping [_doc]
[00:10:33]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/72-2euYPTmOdFMv9JK-Ruw] update_mapping [_doc]
[00:10:39]             │ info progress: 10533
[00:10:42]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:10:42]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:10:42]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "mappings.json"
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json"
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json.gz"
[00:10:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/8jy4R71PSgS-bH0ItxP7ww] deleting index
[00:10:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.15.0_001/wgV53qkwRgOhS0qjT6Teyw] deleting index
[00:10:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.15.0_001/AZcAQEa3SwWkaavTJWCylQ] deleting index
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_7.15.0_001"
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_task_manager_7.15.0_001"
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_1"
[00:10:42]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Created index ".kibana_1"
[00:10:42]             │ debg [x-pack/test/functional/es_archives/lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:10:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Indexed 24 docs into ".kibana_1"
[00:10:43]             │ debg Migrating saved objects
[00:10:43]             │ proc [kibana]   log   [14:04:56.765] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 2ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.768] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 7ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.772] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 4ms.
[00:10:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.15.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:10:43]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.15.0_001]
[00:10:43]             │ proc [kibana]   log   [14:04:56.778] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:10:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/MMRP8K9HR-CnlzgyO7wMHA]]
[00:10:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:10:43]             │ proc [kibana]   log   [14:04:56.847] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 82ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.863] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 85ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.867] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 4ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.882] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 35ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.883] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 120ms
[00:10:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.15.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:10:43]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.15.0_reindex_temp]
[00:10:43]             │ proc [kibana]   log   [14:04:56.943] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 76ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.946] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 3ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.953] [info][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:10:43]             │ proc [kibana]   log   [14:04:56.954] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 7ms.
[00:10:43]             │ proc [kibana]   log   [14:04:56.987] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 34ms.
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] update_mapping [_doc]
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] update_mapping [_doc]
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] update_mapping [_doc]
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] update_mapping [_doc]
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] update_mapping [_doc]
[00:10:43]             │ proc [kibana]   log   [14:04:57.139] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 152ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.149] [info][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:10:43]             │ proc [kibana]   log   [14:04:57.150] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 10ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.153] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:10:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA]]
[00:10:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.15.0_reindex_temp]
[00:10:43]             │ proc [kibana]   log   [14:04:57.196] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 42ms.
[00:10:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.15.0_reindex_temp] metadata
[00:10:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.15.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:10:43]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.15.0_001]
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/HX8jU8OoQxeZbSAufoUw4Q] create_mapping [_doc]
[00:10:43]             │ proc [kibana]   log   [14:04:57.302] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 107ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.305] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.308] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.315] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.317] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:10:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/HX8jU8OoQxeZbSAufoUw4Q] update_mapping [_doc]
[00:10:43]             │ proc [kibana]   log   [14:04:57.392] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 75ms.
[00:10:43]             │ info [o.e.t.LoggingTaskListener] [node-01] 22048 finished with response BulkByScrollResponse[took=30.8ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:10:43]             │ proc [kibana]   log   [14:04:57.497] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:10:43]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.15.0_reindex_temp/FU4pNlBTTmWtVWD7aGmsJA] deleting index
[00:10:43]             │ proc [kibana]   log   [14:04:57.538] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 41ms.
[00:10:43]             │ proc [kibana]   log   [14:04:57.539] [info][savedobjects-service] [.kibana] Migration completed after 778ms
[00:10:43]             │ debg [x-pack/test/functional/es_archives/lens/basic] Migrated Kibana index after loading Kibana data
[00:10:43]             │ debg [x-pack/test/functional/es_archives/lens/basic] Ensured that default space exists in .kibana
[00:10:43]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:10:45]           └-: 
[00:10:45]             └-> "before all" hook in ""
[01:03:54]             └-: lens drag and drop tests
[01:03:54]               └-> "before all" hook in "lens drag and drop tests"
[01:03:54]               └-: basic drag and drop
[01:03:54]                 └-> "before all" hook for "should construct the basic split xy chart"
[01:03:54]                 └-> should construct the basic split xy chart
[01:03:54]                   └-> "before each" hook: global before each for "should construct the basic split xy chart"
[01:03:54]                   │ debg navigating to visualize url: http://localhost:6111/app/visualize#/
[01:03:54]                   │ debg navigate to: http://localhost:6111/app/visualize#/
[01:03:55]                   │ debg ... sleep(700) start
[01:03:55]                   │ debg browser[INFO] http://localhost:6111/app/visualize?_t=1628693888716#/ 281 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.
[01:03:55]                   │
[01:03:55]                   │ debg browser[INFO] http://localhost:6111/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:03:55]                   │ debg ... sleep(700) end
[01:03:55]                   │ debg returned from get, calling refresh
[01:03:57]                   │ debg browser[INFO] http://localhost:6111/app/visualize?_t=1628693888716#/ 281 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.
[01:03:57]                   │
[01:03:57]                   │ debg browser[INFO] http://localhost:6111/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:03:57]                   │ debg currentUrl = http://localhost:6111/app/visualize#/
[01:03:57]                   │          appUrl = http://localhost:6111/app/visualize#/
[01:03:57]                   │ debg TestSubjects.find(kibanaChrome)
[01:03:57]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:03:57]                   │ debg ... sleep(501) start
[01:03:58]                   │ debg ... sleep(501) end
[01:03:58]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:03:58]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[01:03:58]                   │ debg ... sleep(501) start
[01:03:59]                   │ debg ... sleep(501) end
[01:03:59]                   │ debg in navigateTo url = http://localhost:6111/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:03:59]                   │ debg isGlobalLoadingIndicatorVisible
[01:03:59]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:03:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:00]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:01]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:01]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:01]                   │ debg TestSubjects.exists(newItemButton)
[01:04:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:01]                   │ debg TestSubjects.click(newItemButton)
[01:04:01]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:01]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:01]                   │ debg TestSubjects.find(visNewDialogGroups)
[01:04:01]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[01:04:01]                   │ debg TestSubjects.click(visType-lens)
[01:04:01]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:01]                   │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:01]                   │ debg isGlobalLoadingIndicatorVisible
[01:04:01]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:03]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:03]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:03]                   │ debg lensPage.goToTimeRange()
[01:04:03]                   │ debg TestSubjects.exists(noDataPopoverDismissButton)
[01:04:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[01:04:03]                   │ debg TestSubjects.click(noDataPopoverDismissButton)
[01:04:03]                   │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:04:03]                   │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:04:03]                   │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[01:04:03]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[01:04:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[01:04:04]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[01:04:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[01:04:04]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:04:04]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[01:04:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[01:04:04]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:04:04]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:04]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:04]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[01:04:04]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:04]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[01:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:04:05]                   │ debg Find.waitForElementStale with timeout=10000
[01:04:05]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:04:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:04:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:05]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[01:04:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:06]                   │ debg Waiting up to 20000ms for Timepicker popover to close...
[01:04:06]                   │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[01:04:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[01:04:06]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[01:04:09]                   │ debg --- retry.tryForTime failed again with the same message...
[01:04:09]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[01:04:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[01:04:12]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[01:04:12]                   │ debg TestSubjects.click(querySubmitButton)
[01:04:12]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:04:12]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:04:12]                   │ debg Find.waitForElementStale with timeout=10000
[01:04:12]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:12]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:12]                   │ debg isGlobalLoadingIndicatorVisible
[01:04:12]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:13]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:13]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:13]                   │ debg lensPage.dragFieldToWorkspace('@timestamp')
[01:04:13]                   │ debg lensPage.waitForLensDragDropToFinish()
[01:04:13]                   │ debg Find.existsByCssSelector('.lnsDragDrop-isActiveGroup') with timeout=2500
[01:04:16]                   │ debg isGlobalLoadingIndicatorVisible
[01:04:16]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:17]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:18]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:18]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:18]                   │ debg lensPage.getDimensionTriggerText('lnsXY_xDimensionPanel')
[01:04:18]                   │ debg lensPage.getDimensionTriggersTexts('lnsXY_xDimensionPanel')
[01:04:18]                   │ debg TestSubjects.findAll(lnsXY_xDimensionPanel > lns-dimensionTrigger)
[01:04:18]                   │ debg Find.allByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[01:04:28]                   │ info Taking screenshot "/dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/screenshots/failure/lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart.png"
[01:04:28]                   │ info Current URL is: http://localhost:6111/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[01:04:28]                   │ info Saving page source to: /dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/failure_debug/html/lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart.html
[01:04:28]                   └- ✖ fail: lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart
[01:04:28]                   │      Error: expected undefined to sort of equal '@timestamp'
[01:04:28]                   │       at Assertion.assert (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:100:11)
[01:04:28]                   │       at Assertion.eql (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:244:8)
[01:04:28]                   │       at Context.<anonymous> (test/functional/apps/lens/drag_and_drop.ts:23:92)
[01:04:28]                   │       at runMicrotasks (<anonymous>)
[01:04:28]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[01:04:28]                   │       at Object.apply (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[01:04:28]                   │ 
[01:04:28]                   │ 

Stack Trace

Error: expected undefined to sort of equal '@timestamp'
    at Assertion.assert (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/lens/drag_and_drop.ts:23:92)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: undefined,
  expected: '@timestamp',
  showDiff: true
}

Metrics [docs]

✅ unchanged

History

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

@stacey-gammon stacey-gammon merged commit c75403a into elastic:7.x Aug 11, 2021
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