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

[QA] Switch tests to use importExport - management #94580

Closed
wants to merge 3 commits into from

Conversation

wayneseymour
Copy link
Member

Switch tests and move data

@wayneseymour wayneseymour self-assigned this Mar 15, 2021
@wayneseymour wayneseymour force-pushed the import-export-switch--management branch 6 times, most recently from d80664f to 3804932 Compare May 20, 2021 22:45
@wayneseymour
Copy link
Member Author

After rebasing on top of latest master, └- ✖ fail: management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover (failure from last ci burn) just passed on my local

@wayneseymour wayneseymour force-pushed the import-export-switch--management branch from 3804932 to ee427dc Compare June 4, 2021 17:24
@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 4, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_import_objects·ts.management app management ciGroup8 import objects .ndjson file should import saved objects

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: management app
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:00]             │ info [makelogs] Loading "mappings.json"
[00:00:00]             │ info [makelogs] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:01]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: management ciGroup8
[00:00:02]             └-> "before all" hook in "management ciGroup8"
[00:00:42]             └-: import objects
[00:00:42]               └-> "before all" hook in "import objects"
[00:00:42]               └-: .ndjson file
[00:00:42]                 └-> "before all" hook for "should import saved objects"
[00:00:42]                 └-> should import saved objects
[00:00:42]                   └-> "before each" hook: global before each for "should import saved objects"
[00:00:42]                   └-> "before each" hook for "should import saved objects"
[00:00:42]                     │ debg Cleaning all saved objects { space: undefined }
[00:00:43]                     │ info deleting batch of 0 objects
[00:00:43]                     │ succ deleted 0 objects
[00:00:43]                     │ debg resolved import for management to /dev/shm/workspace/parallel/1/kibana/test/functional/fixtures/kbn_archiver/management.json
[00:00:43]                     │ info importing 1 saved objects { space: undefined }
[00:00:43]                     │ succ import success
[00:00:43]                     │ debg replacing kibana config doc: {}
[00:00:44]                     │ debg navigating to settings url: http://localhost:6111/app/management
[00:00:44]                     │ debg navigate to: http://localhost:6111/app/management
[00:00:44]                     │ debg browser[INFO] http://localhost:6111/app/management?_t=1622829763974 340 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:00:44]                     │
[00:00:44]                     │ 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!"
[00:00:44]                     │ debg ... sleep(700) start
[00:00:45]                     │ debg ... sleep(700) end
[00:00:45]                     │ debg returned from get, calling refresh
[00:00:45]                     │ debg browser[INFO] http://localhost:6111/app/management?_t=1622829763974 340 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:00:45]                     │
[00:00:45]                     │ 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!"
[00:00:46]                     │ debg currentUrl = http://localhost:6111/app/management
[00:00:46]                     │          appUrl = http://localhost:6111/app/management
[00:00:46]                     │ debg TestSubjects.find(kibanaChrome)
[00:00:46]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:46]                     │ debg ... sleep(501) start
[00:00:46]                     │ERROR browser[SEVERE] http://localhost:6111/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:46]                     │ debg ... sleep(501) end
[00:00:46]                     │ debg in navigateTo url = http://localhost:6111/app/management
[00:00:46]                     │ debg TestSubjects.click(objects)
[00:00:46]                     │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:00:46]                     │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:00:46]                     │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:00:47]                     │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:00:47]                     │        (Session info: headless chrome=91.0.4472.77)
[00:00:50]                   │ debg importFile(/dev/shm/workspace/parallel/1/kibana/test/functional/apps/management/exports/_import_objects.ndjson)
[00:00:50]                   │ debg Clicking importObjects
[00:00:50]                   │ debg TestSubjects.click(importObjects)
[00:00:50]                   │ debg Find.clickByCssSelector('[data-test-subj="importObjects"]') with timeout=10000
[00:00:50]                   │ debg Find.findByCssSelector('[data-test-subj="importObjects"]') with timeout=10000
[00:00:50]                   │ debg Setting the path '/dev/shm/workspace/parallel/1/kibana/test/functional/apps/management/exports/_import_objects.ndjson' on the file input
[00:00:50]                   │ debg Find.findByCssSelector('.euiFilePicker__input') with timeout=10000
[00:00:50]                   │ debg Leaving overwriteAll alone
[00:00:50]                   │ debg TestSubjects.click(importSavedObjectsImportBtn)
[00:00:50]                   │ debg Find.clickByCssSelector('[data-test-subj="importSavedObjectsImportBtn"]') with timeout=10000
[00:00:50]                   │ debg Find.findByCssSelector('[data-test-subj="importSavedObjectsImportBtn"]') with timeout=10000
[00:00:50]                   │ debg done importing the file
[00:00:50]                   │ debg isGlobalLoadingIndicatorVisible
[00:00:50]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:50]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [.kibana_8.0.0_001/MSYIIJgvRPi3-ga0SV3lEg] update_mapping [_doc]
[00:00:50]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:50]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:51]                   │ debg TestSubjects.exists(importSavedObjectsSuccess)
[00:00:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="importSavedObjectsSuccess"]') with timeout=20000
[00:00:51]                   │ debg TestSubjects.click(importSavedObjectsDoneBtn)
[00:00:51]                   │ debg Find.clickByCssSelector('[data-test-subj="importSavedObjectsDoneBtn"]') with timeout=10000
[00:00:51]                   │ debg Find.findByCssSelector('[data-test-subj="importSavedObjectsDoneBtn"]') with timeout=10000
[00:00:51]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:00:53]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:00:53]                   │        (Session info: headless chrome=91.0.4472.77)
[00:00:56]                   │ debg check that 'Log Agents' is in table as a visualization
[00:00:56]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:00:56]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:00:57]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:00:57]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:00:57]                   │ debg we found a context menu element for (logstash-*) so click it
[00:00:57]                   │ debg Find.findByCssSelector('.euiContextMenuPanel') with timeout=10000
[00:00:57]                   │ debg TestSubjects.findAll(relationshipsTableRow)
[00:00:57]                   │ debg Find.allByCssSelector('[data-test-subj="relationshipsTableRow"]') with timeout=10000
[00:00:57]                   │ debg check that 'Shared-Item Visualization AreaChart' shows 'logstash-*' as it's Parent
[00:00:57]                   │ info Taking screenshot "/dev/shm/workspace/parallel/1/kibana/test/functional/screenshots/failure/management app management ciGroup8 import objects _ndjson file should import saved objects.png"
[00:00:57]                   │ info Current URL is: http://localhost:6111/app/management/kibana/objects
[00:00:57]                   │ info Saving page source to: /dev/shm/workspace/parallel/1/kibana/test/functional/failure_debug/html/management app management ciGroup8 import objects _ndjson file should import saved objects.html
[00:00:57]                   └- ✖ fail: management app management ciGroup8 import objects .ndjson file should import saved objects
[00:00:57]                   │      TypeError: Cannot read property 'relationship' of undefined
[00:00:57]                   │       at Context.<anonymous> (test/functional/apps/management/_import_objects.ts:59:62)
[00:00:57]                   │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:00:57]                   │ 
[00:00:57]                   │ 

Stack Trace

TypeError: Cannot read property 'relationship' of undefined
    at Context.<anonymous> (test/functional/apps/management/_import_objects.ts:59:62)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_import_objects·ts.management app management ciGroup8 import objects .ndjson file should import saved objects

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: management app
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:01]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: management ciGroup8
[00:00:02]             └-> "before all" hook in "management ciGroup8"
[00:00:41]             └-: import objects
[00:00:41]               └-> "before all" hook in "import objects"
[00:00:41]               └-: .ndjson file
[00:00:41]                 └-> "before all" hook for "should import saved objects"
[00:00:41]                 └-> should import saved objects
[00:00:41]                   └-> "before each" hook: global before each for "should import saved objects"
[00:00:41]                   └-> "before each" hook for "should import saved objects"
[00:00:41]                     │ debg Cleaning all saved objects { space: undefined }
[00:00:41]                     │ info deleting batch of 0 objects
[00:00:41]                     │ succ deleted 0 objects
[00:00:41]                     │ debg resolved import for management to /dev/shm/workspace/parallel/1/kibana/test/functional/fixtures/kbn_archiver/management.json
[00:00:41]                     │ info importing 1 saved objects { space: undefined }
[00:00:42]                     │ succ import success
[00:00:42]                     │ debg replacing kibana config doc: {}
[00:00:43]                     │ debg navigating to settings url: http://localhost:6111/app/management
[00:00:43]                     │ debg navigate to: http://localhost:6111/app/management
[00:00:43]                     │ debg browser[INFO] http://localhost:6111/app/management?_t=1622829650273 340 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:00:43]                     │
[00:00:43]                     │ 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!"
[00:00:43]                     │ debg ... sleep(700) start
[00:00:44]                     │ debg ... sleep(700) end
[00:00:44]                     │ debg returned from get, calling refresh
[00:00:44]                     │ERROR browser[SEVERE] http://localhost:6111/43269/bundles/core/core.entry.js 12:150797 TypeError: Failed to fetch
[00:00:44]                     │          at fetch_Fetch.fetchResponse (http://localhost:6111/43269/bundles/core/core.entry.js:6:26193)
[00:00:44]                     │          at async http://localhost:6111/43269/bundles/core/core.entry.js:6:24090
[00:00:44]                     │          at async http://localhost:6111/43269/bundles/core/core.entry.js:6:23996
[00:00:44]                     │ debg browser[INFO] http://localhost:6111/app/management?_t=1622829650273 340 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:00:44]                     │
[00:00:44]                     │ 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!"
[00:00:45]                     │ debg currentUrl = http://localhost:6111/app/management
[00:00:45]                     │          appUrl = http://localhost:6111/app/management
[00:00:45]                     │ debg TestSubjects.find(kibanaChrome)
[00:00:45]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:45]                     │ debg ... sleep(501) start
[00:00:45]                     │ERROR browser[SEVERE] http://localhost:6111/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:45]                     │ debg ... sleep(501) end
[00:00:45]                     │ debg in navigateTo url = http://localhost:6111/app/management
[00:00:45]                     │ debg TestSubjects.click(objects)
[00:00:45]                     │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:00:45]                     │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:00:45]                     │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:00:46]                     │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:00:46]                     │        (Session info: headless chrome=91.0.4472.77)
[00:00:49]                   │ debg importFile(/dev/shm/workspace/parallel/1/kibana/test/functional/apps/management/exports/_import_objects.ndjson)
[00:00:49]                   │ debg Clicking importObjects
[00:00:49]                   │ debg TestSubjects.click(importObjects)
[00:00:49]                   │ debg Find.clickByCssSelector('[data-test-subj="importObjects"]') with timeout=10000
[00:00:49]                   │ debg Find.findByCssSelector('[data-test-subj="importObjects"]') with timeout=10000
[00:00:49]                   │ debg Setting the path '/dev/shm/workspace/parallel/1/kibana/test/functional/apps/management/exports/_import_objects.ndjson' on the file input
[00:00:49]                   │ debg Find.findByCssSelector('.euiFilePicker__input') with timeout=10000
[00:00:49]                   │ debg Leaving overwriteAll alone
[00:00:49]                   │ debg TestSubjects.click(importSavedObjectsImportBtn)
[00:00:49]                   │ debg Find.clickByCssSelector('[data-test-subj="importSavedObjectsImportBtn"]') with timeout=10000
[00:00:49]                   │ debg Find.findByCssSelector('[data-test-subj="importSavedObjectsImportBtn"]') with timeout=10000
[00:00:49]                   │ debg done importing the file
[00:00:49]                   │ debg isGlobalLoadingIndicatorVisible
[00:00:49]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:49]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [.kibana_8.0.0_001/SLMT6f6RRZ2eESB-KmaMXA] update_mapping [_doc]
[00:00:49]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:49]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:50]                   │ debg TestSubjects.exists(importSavedObjectsSuccess)
[00:00:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="importSavedObjectsSuccess"]') with timeout=20000
[00:00:50]                   │ debg TestSubjects.click(importSavedObjectsDoneBtn)
[00:00:50]                   │ debg Find.clickByCssSelector('[data-test-subj="importSavedObjectsDoneBtn"]') with timeout=10000
[00:00:50]                   │ debg Find.findByCssSelector('[data-test-subj="importSavedObjectsDoneBtn"]') with timeout=10000
[00:00:50]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:00:52]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:00:52]                   │        (Session info: headless chrome=91.0.4472.77)
[00:00:55]                   │ debg check that 'Log Agents' is in table as a visualization
[00:00:55]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:00:55]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:00:55]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:00:55]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:00:55]                   │ debg we found a context menu element for (logstash-*) so click it
[00:00:56]                   │ debg Find.findByCssSelector('.euiContextMenuPanel') with timeout=10000
[00:00:56]                   │ debg TestSubjects.findAll(relationshipsTableRow)
[00:00:56]                   │ debg Find.allByCssSelector('[data-test-subj="relationshipsTableRow"]') with timeout=10000
[00:00:56]                   │ debg check that 'Shared-Item Visualization AreaChart' shows 'logstash-*' as it's Parent
[00:00:56]                   │ info Taking screenshot "/dev/shm/workspace/parallel/1/kibana/test/functional/screenshots/failure/management app management ciGroup8 import objects _ndjson file should import saved objects.png"
[00:00:56]                   │ info Current URL is: http://localhost:6111/app/management/kibana/objects
[00:00:56]                   │ info Saving page source to: /dev/shm/workspace/parallel/1/kibana/test/functional/failure_debug/html/management app management ciGroup8 import objects _ndjson file should import saved objects.html
[00:00:56]                   └- ✖ fail: management app management ciGroup8 import objects .ndjson file should import saved objects
[00:00:56]                   │      TypeError: Cannot read property 'relationship' of undefined
[00:00:56]                   │       at Context.<anonymous> (test/functional/apps/management/_import_objects.ts:59:62)
[00:00:56]                   │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:00:56]                   │ 
[00:00:56]                   │ 

Stack Trace

TypeError: Cannot read property 'relationship' of undefined
    at Context.<anonymous> (test/functional/apps/management/_import_objects.ts:59:62)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_scripted_fields·js.management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: management app
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]           └-> "before all" hook in "management app"
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [makelogs] Loading "mappings.json"
[00:00:01]             │ info [makelogs] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:01]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:01]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:01]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:01]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:02]           └-: management ciGroup7
[00:00:02]             └-> "before all" hook in "management ciGroup7"
[00:05:33]             └-: scripted fields
[00:05:33]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:33]               └-> "before all" hook for "should not allow saving of invalid scripts"
[00:05:33]                 │ debg Cleaning all saved objects { space: undefined }
[00:05:33]                 │ info deleting batch of 0 objects
[00:05:33]                 │ succ deleted 0 objects
[00:05:33]                 │ debg resolved import for discover to /dev/shm/workspace/parallel/20/kibana/test/functional/fixtures/kbn_archiver/discover.json
[00:05:33]                 │ info importing 2 saved objects { space: undefined }
[00:05:33]                 │ succ import success
[00:05:33]                 │ debg replacing kibana config doc: {}
[00:05:35]                 │ debg applying update to kibana config: {"doc_table:legacy":true}
[00:05:36]               └-> should not allow saving of invalid scripts
[00:05:36]                 └-> "before each" hook: global before each for "should not allow saving of invalid scripts"
[00:05:36]                 │ debg navigating to settings url: http://localhost:61201/app/management
[00:05:36]                 │ debg navigate to: http://localhost:61201/app/management
[00:05:36]                 │ debg browser[INFO] http://localhost:61201/app/management?_t=1622829918371 340 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:36]                 │
[00:05:36]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:36]                 │ debg ... sleep(700) start
[00:05:36]                 │ debg ... sleep(700) end
[00:05:36]                 │ debg returned from get, calling refresh
[00:05:37]                 │ debg browser[INFO] http://localhost:61201/app/management?_t=1622829918371 340 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:37]                 │
[00:05:37]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:37]                 │ debg currentUrl = http://localhost:61201/app/management
[00:05:37]                 │          appUrl = http://localhost:61201/app/management
[00:05:37]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:37]                 │ debg ... sleep(501) start
[00:05:37]                 │ERROR browser[SEVERE] http://localhost:61201/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:05:38]                 │ debg ... sleep(501) end
[00:05:38]                 │ debg in navigateTo url = http://localhost:61201/app/management
[00:05:38]                 │ debg clickKibanaIndexPatterns link
[00:05:38]                 │ debg TestSubjects.click(indexPatterns)
[00:05:38]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:38]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:38]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:38]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:40]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:40]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:40]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:40]                 │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:05:40]                 │ debg click Scripted Fields tab
[00:05:40]                 │ debg TestSubjects.click(tab-scriptedFields)
[00:05:40]                 │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:40]                 │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:41]                 │ debg click Add Scripted Field
[00:05:41]                 │ debg TestSubjects.click(addScriptedFieldLink)
[00:05:41]                 │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:41]                 │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:41]                 │ debg set scripted field name = doomedScriptedField
[00:05:41]                 │ debg TestSubjects.setValue(editorFieldName, doomedScriptedField)
[00:05:41]                 │ debg TestSubjects.click(editorFieldName)
[00:05:41]                 │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:41]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:41]                 │ debg set scripted field script = i n v a l i d  s c r i p t
[00:05:41]                 │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:05:41]                 │ debg click Save Scripted Field
[00:05:41]                 │ debg TestSubjects.click(fieldSaveButton)
[00:05:41]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:41]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:05:41]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:41]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:43]                 │ERROR browser[SEVERE] http://localhost:61201/internal/index-pattern-management/preview_scripted_field - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:05:43]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:43]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:43]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:43]                 │ debg TestSubjects.exists(invalidScriptError)
[00:05:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="invalidScriptError"]') with timeout=2500
[00:05:44]                 └- ✓ pass  (8.0s) "management app management ciGroup7 scripted fields should not allow saving of invalid scripts"
[00:05:44]               └-: testing regression for issue #33251
[00:05:44]                 └-> "before all" hook for "should create and edit scripted field"
[00:05:53]               └-: creating and using Painless numeric scripted fields
[00:05:53]                 └-> "before all" hook for "should create scripted field"
[00:05:53]                 └-> should create scripted field
[00:05:53]                   └-> "before each" hook: global before each for "should create scripted field"
[00:05:53]                   │ debg navigating to settings url: http://localhost:61201/app/management
[00:05:53]                   │ debg navigate to: http://localhost:61201/app/management
[00:05:53]                   │ debg browser[INFO] http://localhost:61201/app/management?_t=1622829935875 340 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:53]                   │
[00:05:53]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:53]                   │ debg ... sleep(700) start
[00:05:54]                   │ debg ... sleep(700) end
[00:05:54]                   │ debg returned from get, calling refresh
[00:05:55]                   │ debg browser[INFO] http://localhost:61201/app/management?_t=1622829935875 340 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:55]                   │
[00:05:55]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:55]                   │ debg currentUrl = http://localhost:61201/app/management
[00:05:55]                   │          appUrl = http://localhost:61201/app/management
[00:05:55]                   │ debg TestSubjects.find(kibanaChrome)
[00:05:55]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:55]                   │ debg ... sleep(501) start
[00:05:55]                   │ERROR browser[SEVERE] http://localhost:61201/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:05:55]                   │ debg ... sleep(501) end
[00:05:55]                   │ debg in navigateTo url = http://localhost:61201/app/management
[00:05:55]                   │ debg clickKibanaIndexPatterns link
[00:05:55]                   │ debg TestSubjects.click(indexPatterns)
[00:05:55]                   │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:55]                   │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:05:56]                   │ debg isGlobalLoadingIndicatorVisible
[00:05:56]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:57]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:58]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:58]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:58]                   │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:05:58]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:05:58]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:58]                   │ debg click Scripted Fields tab
[00:05:58]                   │ debg TestSubjects.click(tab-scriptedFields)
[00:05:58]                   │ debg Find.clickByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:05:58]                   │ debg add scripted field
[00:05:58]                   │ debg click Add Scripted Field
[00:05:58]                   │ debg TestSubjects.click(addScriptedFieldLink)
[00:05:58]                   │ debg Find.clickByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="addScriptedFieldLink"]') with timeout=10000
[00:05:58]                   │ debg set scripted field name = ram_Pain1
[00:05:58]                   │ debg TestSubjects.setValue(editorFieldName, ram_Pain1)
[00:05:58]                   │ debg TestSubjects.click(editorFieldName)
[00:05:58]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldName"]') with timeout=10000
[00:05:58]                   │ debg set scripted field language = painless
[00:05:58]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldLang"] > option[value="painless"]') with timeout=10000
[00:05:58]                   │ debg set scripted field type = number
[00:05:58]                   │ debg Find.clickByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('select[data-test-subj="editorFieldType"] > option[value="number"]') with timeout=10000
[00:05:58]                   │ debg set scripted field popularity = 1
[00:05:58]                   │ debg TestSubjects.setValue(editorFieldCount, 1)
[00:05:58]                   │ debg TestSubjects.click(editorFieldCount)
[00:05:58]                   │ debg Find.clickByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldCount"]') with timeout=10000
[00:05:58]                   │ debg set scripted field script = if (doc['machine.ram'].size() == 0) return -1;
[00:05:58]                   │                else return doc['machine.ram'].value / (1024 * 1024 * 1024);
[00:05:58]                   │              
[00:05:58]                   │ debg Find.findByCssSelector('[data-test-subj="editorFieldScript"] .ace_editor') with timeout=10000
[00:06:00]                   │ debg click Save Scripted Field
[00:06:00]                   │ debg TestSubjects.click(fieldSaveButton)
[00:06:00]                   │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:00]                   │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:06:00]                   │ debg isGlobalLoadingIndicatorVisible
[00:06:00]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:00]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:00]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:01]                   │ debg TestSubjects.getVisibleText(tab-scriptedFields)
[00:06:01]                   │ debg TestSubjects.find(tab-scriptedFields)
[00:06:01]                   │ debg Find.findByCssSelector('[data-test-subj="tab-scriptedFields"]') with timeout=10000
[00:06:01]                   └- ✓ pass  (7.9s) "management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should create scripted field"
[00:06:01]                 └-> should see scripted field value in Discover
[00:06:01]                   └-> "before each" hook: global before each for "should see scripted field value in Discover"
[00:06:01]                   │ debg navigating to discover url: http://localhost:61201/app/discover#/
[00:06:01]                   │ debg navigate to: http://localhost:61201/app/discover#/
[00:06:01]                   │ debg browser[INFO] http://localhost:61201/app/discover?_t=1622829943822#/ 340 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:06:01]                   │
[00:06:01]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:01]                   │ debg ... sleep(700) start
[00:06:02]                   │ debg ... sleep(700) end
[00:06:02]                   │ debg returned from get, calling refresh
[00:06:02]                   │ debg browser[INFO] http://localhost:61201/app/discover?_t=1622829943822#/ 340 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:06:02]                   │
[00:06:02]                   │ debg browser[INFO] http://localhost:61201/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:03]                   │ debg currentUrl = http://localhost:61201/app/discover#/
[00:06:03]                   │          appUrl = http://localhost:61201/app/discover#/
[00:06:03]                   │ debg TestSubjects.find(kibanaChrome)
[00:06:03]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:03]                   │ debg ... sleep(501) start
[00:06:03]                   │ERROR browser[SEVERE] http://localhost:61201/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:03]                   │ debg ... sleep(501) end
[00:06:03]                   │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:06:03]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:06:04]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [.async-search] creating index, cause [auto(bulk api)], templates [], shards [1]/[0]
[00:06:04]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.async-search][0]]])." previous.health="YELLOW" reason="shards started [[.async-search][0]]"
[00:06:04]                   │ debg ... sleep(501) start
[00:06:04]                   │ debg ... sleep(501) end
[00:06:04]                   │ debg in navigateTo url = http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:06:04]                   │ debg Setting absolute range to Sep 17, 2015 @ 06:31:44.000 to Sep 18, 2015 @ 18:31:44.000
[00:06:04]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:06:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:06:04]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:06:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:06:05]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:06:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:06:05]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:05]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [.kibana_8.0.0_001/VO8Ozv0uSe2miLQmwAdehw] update_mapping [_doc]
[00:06:05]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 18, 2015 @ 18:31:44.000)
[00:06:05]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:05]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:06:05]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:05]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:05]                   │ debg Find.waitForElementStale with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:06]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 17, 2015 @ 06:31:44.000)
[00:06:06]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:06]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:06]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:06]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:06:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:06:09]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1622827494932959223] [.kibana_8.0.0_001/VO8Ozv0uSe2miLQmwAdehw] update_mapping [_doc]
[00:06:09]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:06:09]                   │ debg TestSubjects.click(querySubmitButton)
[00:06:09]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:09]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:09]                   │ debg Find.waitForElementStale with timeout=10000
[00:06:10]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:10]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:10]                   │ debg TestSubjects.click(field-ram_Pain1)
[00:06:10]                   │ debg Find.clickByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:10]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:20]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:20]                   │      Wait timed out after 10030ms
[00:06:20]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:30]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:30]                   │      Wait timed out after 10043ms
[00:06:31]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:41]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:41]                   │      Wait timed out after 10061ms
[00:06:41]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:06:51]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:06:51]                   │      Wait timed out after 10047ms
[00:06:52]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:02]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:02]                   │      Wait timed out after 10006ms
[00:07:02]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:12]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:12]                   │      Wait timed out after 10015ms
[00:07:13]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:23]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:23]                   │      Wait timed out after 10013ms
[00:07:23]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:33]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:33]                   │      Wait timed out after 10039ms
[00:07:34]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:44]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:44]                   │      Wait timed out after 10021ms
[00:07:44]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:07:54]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:07:54]                   │      Wait timed out after 10012ms
[00:07:55]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:05]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:05]                   │      Wait timed out after 10038ms
[00:08:05]                   │ debg Find.findByCssSelector('[data-test-subj="field-ram_Pain1"]') with timeout=10000
[00:08:15]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:15]                   │      Wait timed out after 10023ms
[00:08:16]                   │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/test/functional/screenshots/failure/management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.png"
[00:08:16]                   │ info Current URL is: http://localhost:61201/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-17T06:31:44.000Z%27,to:%272015-09-18T18:31:44.000Z%27))&_a=(columns:!(),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:08:16]                   │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/test/functional/failure_debug/html/management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover.html
[00:08:16]                   └- ✖ fail: management app management ciGroup7 scripted fields creating and using Painless numeric scripted fields should see scripted field value in Discover
[00:08:16]                   │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
[00:08:16]                   │ Wait timed out after 10023ms
[00:08:16]                   │     at /dev/shm/workspace/parallel/20/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:16]                   │     at runMicrotasks (<anonymous>)
[00:08:16]                   │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:08:16]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:08:16]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:08:16]                   │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:08:16]                   │       at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
[00:08:16]                   │       at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
[00:08:16]                   │       at DiscoverPage.clickFieldListItem (test/functional/page_objects/discover_page.ts:345:14)
[00:08:16]                   │       at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:144:9)
[00:08:16]                   │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:16]                   │ 
[00:08:16]                   │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="field-ram_Pain1"])
Wait timed out after 10023ms
    at /dev/shm/workspace/parallel/20/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (test/common/services/retry/retry.ts:31:12)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:360:5)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:105:5)
    at DiscoverPage.clickFieldListItem (test/functional/page_objects/discover_page.ts:345:14)
    at Context.<anonymous> (test/functional/apps/management/_scripted_fields.js:144:9)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

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

cc @wayneseymour

@wayneseymour
Copy link
Member Author

Covered by Tyler's pr: #101118

@spalger spalger deleted the import-export-switch--management branch May 8, 2022 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants