Closed gaiksaya closed 2 years ago
Security plugin: https://github.com/opensearch-project/security/pull/1525
OpenSearch 1.2.2 Release issueΒ -Β Release candidate testing instructions
docker pull opensearchstaging/opensearch:1.2.2 && docker run -it -p 9200:9200 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" opensearchstaging/opensearch:1.2.2
curl https://localhost:9200
docker pull opensearchstaging/opensearch:1.2.2 && docker run -it -p 9200:9200 -e "discovery.type=single-node" opensearchstaging/opensearch:1.2.2
curl --insecure https://admin:admin@localhost:9200
FromΒ Docker Release
Faced the below error while running integration testing:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':alerting:integTest'.
> Could not resolve all files for configuration ':alerting:opensearch_distro_extracted_testclusters-alerting-integTest-0-1.2.2-'.
> Could not resolve opensearch-distribution:opensearch:1.2.2.
Required by:
project :alerting
> Could not resolve opensearch-distribution:opensearch:1.2.2.
> Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/1.2.2/opensearch-min-1.2.2-linux-x64.tar.gz'.
> Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/1.2.2/opensearch-min-1.2.2-linux-x64.tar.gz'. Received status code 403 from server: Forbidden
> Could not resolve opensearch-distribution:opensearch:1.2.2.
> Could not get resource 'https://artifacts.opensearch.org/release-candidates/core/opensearch/1.2.2/opensearch-min-1.2.2-linux-x64.tar.gz'.
> Could not HEAD 'https://artifacts.opensearch.org/release-candidates/core/opensearch/1.2.2/opensearch-min-1.2.2-linux-x64.tar.gz'. Received status code 403 from server: Forbidden
I suspect it is related to https://github.com/opensearch-project/OpenSearch/issues/1240 @peterzhuamazon is working on running the snapshot workflow that will place the artifact in that location.
Integration tests for opensearch x64 and arm64 are running now. Will update the status soon here.
./test.sh integ-test manifests/1.2.2/opensearch-1.2.2-test.yml --paths opensearch=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.2.2/98/linux/x64
2021-12-15 22:53:58 INFO | alerting | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | alerting | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | anomaly-detection | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | anomaly-detection | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | asynchronous-search | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | asynchronous-search | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | dashboards-reports | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | index-management | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | index-management | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | k-NN | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | k-NN | without-security | PASS | 0 |
2021-12-15 22:53:58 INFO | sql | with-security | PASS | 0 |
2021-12-15 22:53:58 INFO | sql | without-security | PASS | 0 |
./test.sh integ-test manifests/1.2.2/opensearch-1.2.2-test.yml --paths opensearch=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.2.2/98/linux/arm64
2021-12-15 23:26:36 INFO | alerting | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | alerting | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | anomaly-detection | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | anomaly-detection | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | asynchronous-search | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | asynchronous-search | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | dashboards-reports | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | index-management | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | index-management | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | k-NN | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | k-NN | without-security | PASS | 0 |
2021-12-15 23:26:36 INFO | sql | with-security | PASS | 0 |
2021-12-15 23:26:36 INFO | sql | without-security | PASS | 0 |
Dashboards
can be in 'Active' state
[69245:1215/225332.059460:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[69245:1215/225332.059507:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
β after the monitor starts running (64723ms)
can be in 'Acknowledged' state
β by clicking the button in Dashboard (1939ms)
can be in 'Completed' state
β when the trigger condition is not met after met once (63438ms)
can be in 'Error' state
β by using a wrong destination (1496ms)
can be in 'Deleted' state
β by deleting the monitor (1819ms)
5 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 2 minutes, 16 seconds β
β Spec Ran: alert_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: bucket_level_monitor_spec.js (2 of 4)
Bucket-Level Monitors
can be created
β by extraction query (27313ms)
β by visual editor (13414ms)
can be updated
when defined by extraction query
β by adding trigger (1060ms)
when defined by visual editor
β by adding trigger (8811ms)
4 passing (55s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 55 seconds β
β Spec Ran: bucket_level_monitor_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: destination_spec.js (3 of 4)
Destinations
can be created
β with a custom webhook (5837ms)
can be updated
β by changing the name (2988ms)
can be deleted
β by clicking the button under "Actions" (1944ms)
can be searched
β by name (2098ms)
4 passing (14s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 14 seconds β
β Spec Ran: destination_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: query_level_monitor_spec.js (4 of 4)
Query-Level Monitors
can be created
β by extraction query (7611ms)
can be updated
β by changing the name (3048ms)
can be deleted
β from "Actions" menu (1596ms)
can be searched
β by name (3757ms)
4 passing (17s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 17 seconds β
β Spec Ran: query_level_monitor_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β alert_spec.js 02:16 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β bucket_level_monitor_spec.js 00:55 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β destination_spec.js 00:14 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β query_level_monitor_spec.js 00:17 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 03:42 17 17 - - -
cypress run --env security_enabled=true opensearch_dashboards=localhost:5601 --config video=false
[73109:1215/230934.204990:ERROR:gpu_init.cc(453)]
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 9.1.1 β
β Browser: Electron 94 (headless) β
β Node Version: v10.23.1 (/home/ubuntu/.nvm/versions/node/v10.23.1/bin/node) β
β Specs: 5 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_s β
β pec.js, transforms_spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: indices_spec.js (1 of 5)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Indices
can be searched
β successfully (6936ms)
can show data stream indices
β successfully (4804ms)
can have policies applied
β successfully (5936ms)
3 passing (21s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 3 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 20 seconds β
β Spec Ran: indices_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: managed_indices_spec.js (2 of 5)
Managed indices
can have policies removed
[72864:1215/230959.217921:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[72864:1215/230959.217964:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
β successfully (10206ms)
can have policies retried
β successfully (27307ms)
can edit rollover_alias
β successfully (4884ms)
can change policies
β successfully (13846ms)
can manage data stream indices
β successfully (5953ms)
5 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 1 minute, 6 seconds β
β Spec Ran: managed_indices_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: policies_spec.js (3 of 5)
Policies
can be created
β successfully (7050ms)
can be edited
β successfully (5352ms)
can be deleted
β successfully (2202ms)
can be searched
β successfully (3090ms)
can be viewed
β successfully (1095ms)
5 passing (20s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 19 seconds β
β Spec Ran: policies_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: rollups_spec.js (4 of 5)
Rollups
can be created
β successfully (12349ms)
can be edited
β successfully (5932ms)
can be deleted
β successfully (6292ms)
can be enabled and disabled
β successfully (4344ms)
4 passing (30s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 29 seconds β
β Spec Ran: rollups_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: transforms_spec.js (5 of 5)
Transforms
can be created
β successfully (9141ms)
can be edited
β successfully (3308ms)
can be deleted
β successfully (2474ms)
can be enabled and disabled
β successfully (4263ms)
4 passing (23s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 22 seconds β
β Spec Ran: transforms_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
==========================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β indices_spec.js 00:20 3 3 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β managed_indices_spec.js 01:06 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β policies_spec.js 00:19 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β rollups_spec.js 00:29 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β transforms_spec.js 00:22 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 02:39 21 21 - - -
cypress run --env security_enabled=true opensearch_dashboards=localhost:5601 --config video=false
[76537:1215/231511.637126:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 9.1.1 β
β Browser: Electron 94 (headless) β
β Node Version: v10.23.1 (/home/ubuntu/.nvm/versions/node/v10.23.1/bin/node) β
β Specs: 1 found (ui.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ui.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Dump test data
β Indexes test data for SQL and PPL (924ms)
Test PPL UI
β Confirm results are empty (3405ms)
β Test Run button (5212ms)
β Test Clear button (6824ms)
[76293:1215/231536.649928:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[76293:1215/231536.649950:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
β Test full screen view (5946ms)
Test SQL UI
β Confirm results are empty (2188ms)
β Test Run button and field search (5425ms)
β Test Translate button (6171ms)
β Test Clear button (3281ms)
β Test full screen view (3423ms)
Test and verify SQL downloads
β Download and verify JSON (85ms)
β Download and verify JDBC (33ms)
β Download and verify CSV (33ms)
β Download and verify Text (31ms)
Test table display
β Test GROUP BY (6051ms)
β Test GROUP BY with aliases and scalar function (6211ms)
β Test GROUP BY and HAVING (6481ms)
β Test ORDER BY (6326ms)
β Test JOIN (7302ms)
β Test nested fields display (7172ms)
20 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 20 β
β Passing: 20 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: false β
β Duration: 1 minute, 22 seconds β
β Spec Ran: ui.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
===============================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ui.spec.js 01:22 20 20 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 01:22 20 20 - - -
yarn cypress:run
yarn run v1.22.10
$ TZ=America/Los_Angeles cypress run
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 1 found (ui.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ui.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Dump test data
β Indexes test data for gantt chart (256ms)
Save a gantt chart
β Creates and saves a gantt chart (22329ms)
Render and configure a gantt chart
β Renders no data message (10469ms)
β Renders the chart (22576ms)
Configure panel settings
β Changes y-axis label (16402ms)
β Changes x-axis label (16397ms)
β Changes time formats (23305ms)
β Hides legends (13793ms)
Add gantt chart to dashboard
β Adds gantt chart to dashboard (8975ms)
9 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 9 β
β Passing: 9 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 2 minutes, 14 seconds β
β Spec Ran: ui.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (4 seconds)
ds-visualizations/gantt-chart/.cypress/videos/ui.spec.js.mp
4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ui.spec.js 02:14 9 9 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 02:14 9 9 - - -
Done in 145.58s.
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-visualizations/gantt-chart$ CD ..
CD: command not found
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-visualizations/gantt-chart$ CD ..
CD: command not found
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-visualizations/gantt-chart$ CD ..
CD: command not found
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-visualizations/gantt-chart$ cd ..
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-visualizations$ cd ..
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins$ git clone https://github.com/opensearch-project/dashboards-reports.git
Cloning into 'dashboards-reports'...
remote: Enumerating objects: 8757, done.
remote: Counting objects: 100% (2128/2128), done.
remote: Compressing objects: 100% (609/609), done.
remote: Total 8757 (delta 1857), reused 1522 (delta 1518), pack-reused 6629
Receiving objects: 100% (8757/8757), 38.17 MiB | 21.53 MiB/s, done.
Resolving deltas: 100% (5627/5627), done.
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins$ cd dashboards-reports/
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports$ git checkout tags/1.2.0.0
Note: switching to 'tags/1.2.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 290523a Fix reporting validation for observability (#231) (#233)
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports$ cd dashboards-reports/
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports$ yarn cypress:run
yarn run v1.22.10
$ cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 4 found (01-create.spec.ts, 02-edit.spec.ts, 03-details.spec.ts, 04-download.spec. β
β ts) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 01-create.spec.ts (1 of 4)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Adding sample data
β Adds sample data (23832ms)
Cypress
β Visits Reporting homepage (83ms)
β Visit Create page (12767ms)
β Create a new on-demand report definition (27334ms)
β Create a new scheduled report definition (27796ms)
5 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 32 seconds β
β Spec Ran: 01-create.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/01-create.spe
c.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 02-edit.spec.ts (2 of 4)
Cypress
β Visit edit page, update name and description (27379ms)
β Visit edit page, change report trigger (26569ms)
β Visit edit page, change report trigger back (26553ms)
3 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 3 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 21 seconds β
β Spec Ran: 02-edit.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/02-edit.spec.
ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 03-details.spec.ts (3 of 4)
Cypress
β Visit report definition details page (14126ms)
β Visit report details page (12728ms)
2 passing (28s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 2 β
β Passing: 2 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 27 seconds β
β Spec Ran: 03-details.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (0 seconds)
ds-reports/dashboards-reports/.cypress/videos/03-details.sp
ec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 04-download.spec.ts (4 of 4)
Cypress
β Download from reporting homepage (12818ms)
β Download pdf from in-context menu (5589ms)
β Download png from in-context menu (5781ms)
β Download csv from saved search in-context menu (10799ms)
1) Download from Report definition details page
4 passing (2m)
1 failing
1) Cypress
Download from Report definition details page:
AssertionError: Timed out retrying: Expected to find element: `#downloadInProgressLoadingModal`, but never found it.
at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/04-download.spec.ts:157:12)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 4 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 1 β
β Video: true β
β Duration: 1 minute, 46 seconds β
β Spec Ran: 04-download.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Screenshots)
- /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards (1280x720)
-reports/.cypress/screenshots/04-download.spec.ts/Cypress -- Download from Repor
t definition details page (failed).png
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (3 seconds)
ds-reports/dashboards-reports/.cypress/videos/04-download.s
pec.ts.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β 01-create.spec.ts 01:32 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 02-edit.spec.ts 01:21 3 3 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 03-details.spec.ts 00:27 2 2 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 04-download.spec.ts 01:46 5 4 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 4 failed (25%) 05:07 15 14 1 - -
/home/ubuntu/.cache/Cypress/5.6.0/Cypress/Cypress --no-sandbox -- --run-project /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports --cwd /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports[114811]: ../../third_party/electron_node/src/api/callback.cc:226:MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate *, Local<v8::Object>, Local<v8::Function>, int, Local<v8::Value> *, node::async_context): Assertion `(env) != nullptr' failed.
The Test Runner unexpectedly exited via a exit event with signal SIGABRT
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
----------
Platform: linux (Ubuntu - 20.04)
Cypress Version: 5.6.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn cypress:run
yarn run v1.22.10
$ TZ=America/Los_Angeles cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 5 found (notebooks.spec.js, panels.spec.js, trace_analytics_dashboard.spec.js, tra β
β ce_analytics_services.spec.js, trace_analytics_traces.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: notebooks.spec.js (1 of 5)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Oops...we found an error preparing this test file:
.cypress/integration/notebooks.spec.js
The error was:
Error: Webpack Compilation Error
./.cypress/integration/notebooks.spec.js
Module not found: Error: Can't resolve '@cypress/skip-test' in '/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration'
resolve '@cypress/skip-test' in '/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration'
Parsed request is a module
using description file: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/package.json (relative path: ./.cypress/integration)
Field 'browser' doesn't contain a valid alias configuration
Looked for and couldn't find the file at the following paths:
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/node_modules]
[/home/ubuntu/repos/node_modules]
[/home/ubuntu/node_modules]
[/home/node_modules]
[/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.js]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.json]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.jsx]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.mjs]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.coffee]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.ts]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.tsx]
@ ./.cypress/integration/notebooks.spec.js 5:16-45
This occurred while Cypress was compiling and bundling your test code. This is usually caused by:
- A missing file or dependency
- A syntax error in the file or one of its dependencies
Fix the error in your code and re-run your tests.
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 0 β
β Passing: 0 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 0 seconds β
β Spec Ran: notebooks.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (0 seconds)
alytics/dashboards-observability/.cypress/videos/notebooks.
spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: panels.spec.js (2 of 5)
Adding sample data and visualization
β Adds sample flights data for visualization paragraph (6907ms)
Creating visualizations
β Create first visualization in event analytics (13080ms)
β Create second visualization in event analytics (13250ms)
Testing panels table
β Displays error toast for invalid notebook name (7897ms)
β Creates a panel and redirects to the panel (8187ms)
β Duplicates and renames a panel (19444ms)
β Searches existing panel (10244ms)
β Deletes panels (14767ms)
Testing a panel
β Move to test panel (10781ms)
β Change date filter of the panel (4783ms)
β Add existing visualization #1 (8491ms)
β Add existing visualization #2 (8273ms)
β Add ppl filter to panel (7238ms)
β Drag and drop a visualization (9441ms)
β Delete a visualization (9445ms)
β Duplicate a visualization (6288ms)
β Replace a visualization (9853ms)
β Move to explorer to create new visualization (6333ms)
β Move to test panel and check visualization edit button (17089ms)
Clean up all test data
β Delete visualizations from event analytics (9903ms)
β Deletes test panel (9791ms)
21 passing (4m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 21 β
β Passing: 21 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 3 minutes, 31 seconds β
β Spec Ran: panels.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (6 seconds)
alytics/dashboards-observability/.cypress/videos/panels.spe
c.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_dashboard.spec.js (3 of 5)
Dump test data
β Indexes test data (1457ms)
Testing dashboard table empty state
β Renders empty state (4726ms)
Testing dashboard table
β Renders the dashboard table (4827ms)
β Adds the percentile filters (11124ms)
β Opens latency trend popover (13960ms)
β Redirects to traces table with filter (15799ms)
Testing plots
β Renders service map (6818ms)
β Renders plots (4800ms)
8 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 8 β
β Passing: 8 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 3 seconds β
β Spec Ran: trace_analytics_dashboard.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_dashboard.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_services.spec.js (4 of 5)
Testing services table empty state
β Renders empty state (4712ms)
Testing services table
β Renders the services table (4444ms)
β Searches correctly (5658ms)
Testing service view empty state
β Renders service view empty state (4743ms)
Testing service view
β Renders service view (3977ms)
β Renders spans data grid, flyout, filters (7512ms)
6 passing (31s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 6 β
β Passing: 6 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 31 seconds β
β Spec Ran: trace_analytics_services.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_services.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_traces.spec.js (5 of 5)
Testing traces table empty state
β Renders empty state (4711ms)
Testing traces table
β Renders the traces table (4692ms)
β Searches correctly (6075ms)
Testing trace view
β Renders the trace view (4827ms)
β Renders data grid, flyout and filters (8468ms)
5 passing (29s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 28 seconds β
β Spec Ran: trace_analytics_traces.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_traces.spec.js.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β notebooks.spec.js 0ms - - 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β panels.spec.js 03:31 21 21 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_dashboard.spec.js 01:03 8 8 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_services.spec.js 00:31 6 6 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_traces.spec.js 00:28 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 5 failed (20%) 05:35 40 40 1 - -
===
yarn cypress:run
yarn run v1.22.10
$ TZ=America/Los_Angeles cypress run
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 1 found (ui.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ui.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Dump test data
β Indexes test data for gantt chart (256ms)
Save a gantt chart
β Creates and saves a gantt chart (22329ms)
Render and configure a gantt chart
β Renders no data message (10469ms)
β Renders the chart (22576ms)
Configure panel settings
β Changes y-axis label (16402ms)
β Changes x-axis label (16397ms)
β Changes time formats (23305ms)
β Hides legends (13793ms)
Add gantt chart to dashboard
β Adds gantt chart to dashboard (8975ms)
9 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 9 β
β Passing: 9 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 2 minutes, 14 seconds β
β Spec Ran: ui.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (4 seconds)
ds-visualizations/gantt-chart/.cypress/videos/ui.spec.js.mp
4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ui.spec.js 02:14 9 9 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 02:14 9 9 - - -
Done in 145.58s.
yarn cy:run-with-security --config baseurl=http://localhost:5601
yarn run v1.22.10
$ cypress run --env SECURITY_ENABLED=true --config baseurl=http://localhost:5601
It looks like this is your first time using Cypress: 5.6.0
β Verified Cypress! /home/ubuntu/.cache/Cypress/5.6.0/Cypress
Opening Cypress...
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 3 found (ad/dashboard/ad_dashboard.spec.ts, ad/detectorList/detector_list.spec.t β
β s, ad/workflow/create_detector.spec.ts) β
β Experiments: experimentalNetworkStubbing=true β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/dashboard/ad_dashboard.spec.ts (1 of 3)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
AD Dashboard
β Empty dashboard - no detector index (2820ms)
β Empty dashboard - empty detector index (1094ms)
β AD dashboard - single running detector (1054ms)
β AD dashboard - redirect to create detector (715ms)
β Filter by detector (987ms)
β Filter by detector state (984ms)
6 passing (8s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 6 β
β Passing: 6 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 7 seconds β
β Spec Ran: ad/dashboard/ad_dashboard.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/dashboard/ad
_dashboard.spec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/detectorList/detector_list.spec.ts (2 of 3)
Detector list
β Empty detectors - no detector index (2784ms)
β Empty detectors - empty detector index (998ms)
β One detector - single stopped detector index (968ms)
β Multiple detectors - multiple detectors index (1228ms)
β Redirect to create detector (714ms)
β Start single detector (1017ms)
β Stop single detector (1099ms)
- Delete single detector
β Filter by detector search (1402ms)
β Filter by detector state (1030ms)
9 passing (11s)
1 pending
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 10 β
β Passing: 9 β
β Failing: 0 β
β Pending: 1 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 11 seconds β
β Spec Ran: ad/detectorList/detector_list.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/detectorList
/detector_list.spec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/workflow/create_detector.spec.ts (3 of 3)
Create detector
- Create detector - from dashboard
0 passing (14ms)
1 pending
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 1 β
β Passing: 0 β
β Failing: 0 β
β Pending: 1 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 0 seconds β
β Spec Ran: ad/workflow/create_detector.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/workflow/cre
ate_detector.spec.ts.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ad/dashboard/ad_dashboard.spec.ts 00:07 6 6 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β ad/detectorList/detector_list.spec. 00:11 10 9 - 1 - β
β ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β ad/workflow/create_detector.spec.ts 11ms 1 - - 1 - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 00:19 17 15 - 2 -
cypress run --env security_enabled=false opensearch_dashboards=localhost:5601
It looks like this is your first time using Cypress: 6.9.1
β Verified Cypress! /home/ubuntu/.cache/Cypress/6.9.1/Cypress
Opening Cypress...
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 6.9.1 β
β Browser: Electron 87 (headless) β
β Specs: 4 found (alert_spec.js, bucket_level_monitor_spec.js, destination_spec.js, query_l β
β evel_monitor_spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: alert_spec.js (1 of 4)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Alerts
can be in 'Active' state
β after the monitor starts running (64806ms)
can be in 'Acknowledged' state
β by clicking the button in Dashboard (1666ms)
can be in 'Completed' state
β when the trigger condition is not met after met once (62796ms)
can be in 'Error' state
β by using a wrong destination (1374ms)
can be in 'Deleted' state
β by deleting the monitor (1890ms)
5 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 2 minutes, 13 seconds β
β Spec Ran: alert_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/alerting (3 seconds)
-dashboards-plugin/cypress/videos/alert_spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: bucket_level_monitor_spec.js (2 of 4)
Bucket-Level Monitors
can be created
β by extraction query (17275ms)
β by visual editor (12824ms)
can be updated
when defined by extraction query
β by adding trigger (913ms)
when defined by visual editor
β by adding trigger (8020ms)
4 passing (43s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 42 seconds β
β Spec Ran: bucket_level_monitor_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/alerting (1 second)
-dashboards-plugin/cypress/videos/bucket_level_monitor_spec
.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: destination_spec.js (3 of 4)
Destinations
can be created
β with a custom webhook (4122ms)
can be updated
β by changing the name (3024ms)
can be deleted
β by clicking the button under "Actions" (1844ms)
can be searched
β by name (2118ms)
4 passing (12s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 12 seconds β
β Spec Ran: destination_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/alerting (0 seconds)
-dashboards-plugin/cypress/videos/destination_spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: query_level_monitor_spec.js (4 of 4)
Query-Level Monitors
can be created
β by extraction query (6259ms)
can be updated
β by changing the name (3194ms)
can be deleted
β from "Actions" menu (1765ms)
can be searched
β by name (3642ms)
4 passing (16s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 16 seconds β
β Spec Ran: query_level_monitor_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/alerting (0 seconds)
-dashboards-plugin/cypress/videos/query_level_monitor_spec.
js.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β alert_spec.js 02:13 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β bucket_level_monitor_spec.js 00:42 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β destination_spec.js 00:12 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β query_level_monitor_spec.js 00:16 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 03:24 17 17 - - -
cypress run --env security_enabled=false opensearch_dashboards=localhost:5601
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 6.9.1 β
β Browser: Electron 87 (headless) β
β Specs: 5 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_spec. β
β js, transforms_spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: indices_spec.js (1 of 5)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Indices
can be searched
β successfully (6707ms)
can show data stream indices
1) successfully
can have policies applied
β successfully (5603ms)
2 passing (28s)
1 failing
1) Indices
can show data stream indices
successfully:
AssertionError: Timed out retrying after 10000ms: Expected to find content: '.ds-logs-nginx-000001' but never did.
at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/integration/indices_spec.js:226:10)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 2 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 1 β
β Video: true β
β Duration: 27 seconds β
β Spec Ran: indices_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Screenshots)
- /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-management-dashboards-p (1280x720)
lugin/cypress/screenshots/indices_spec.js/Indices -- can show data stream indice
s -- successfully (failed).png
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-ma (1 second)
nagement-dashboards-plugin/cypress/videos/indices_spec.js.m
p4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: managed_indices_spec.js (2 of 5)
Managed indices
can have policies removed
β successfully (9990ms)
can have policies retried
- successfully
can edit rollover_alias
β successfully (4452ms)
can change policies
β successfully (12025ms)
can manage data stream indices
β successfully (5995ms)
4 passing (36s)
1 pending
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 4 β
β Failing: 0 β
β Pending: 1 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 36 seconds β
β Spec Ran: managed_indices_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-ma (1 second)
nagement-dashboards-plugin/cypress/videos/managed_indices_s
pec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: policies_spec.js (3 of 5)
Policies
can be created
β successfully (6880ms)
can be edited
β successfully (5216ms)
can be deleted
β successfully (2209ms)
can be searched
β successfully (2830ms)
can be viewed
β successfully (1043ms)
5 passing (19s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 18 seconds β
β Spec Ran: policies_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-ma (0 seconds)
nagement-dashboards-plugin/cypress/videos/policies_spec.js.
mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: rollups_spec.js (4 of 5)
Rollups
can be created
β successfully (11438ms)
can be edited
β successfully (4981ms)
can be deleted
β successfully (5249ms)
can be enabled and disabled
β successfully (4273ms)
4 passing (27s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 26 seconds β
β Spec Ran: rollups_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-ma (1 second)
nagement-dashboards-plugin/cypress/videos/rollups_spec.js.m
p4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: transforms_spec.js (5 of 5)
Transforms
can be created
β successfully (8928ms)
can be edited
β successfully (3065ms)
can be deleted
β successfully (2325ms)
can be enabled and disabled
β successfully (4141ms)
4 passing (22s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 4 β
β Passing: 4 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 21 seconds β
β Spec Ran: transforms_spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/index-ma (0 seconds)
nagement-dashboards-plugin/cypress/videos/transforms_spec.j
s.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β indices_spec.js 00:27 3 2 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β managed_indices_spec.js 00:36 5 4 - 1 - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β policies_spec.js 00:18 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β rollups_spec.js 00:26 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β transforms_spec.js 00:21 4 4 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 5 failed (20%) 02:11 21 19 1 1 -
cypress run --env security_enabled=false opensearch_dashboards=localhost:5601
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 1 found (ui.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ui.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Dump test data
β Indexes test data for SQL and PPL (717ms)
Test PPL UI
β Confirm results are empty (3283ms)
β Test Run button (5179ms)
β Test Clear button (6832ms)
β Test full screen view (5936ms)
Test SQL UI
β Confirm results are empty (2176ms)
β Test Run button and field search (5437ms)
β Test Translate button (6191ms)
β Test Clear button (3268ms)
β Test full screen view (3418ms)
Test and verify SQL downloads
β Download and verify JSON (79ms)
β Download and verify JDBC
β Download and verify CSV (39ms)
β Download and verify Text
Test table display
β Test GROUP BY (6056ms)
β Test GROUP BY with aliases and scalar function (6208ms)
β Test GROUP BY and HAVING (6503ms)
β Test ORDER BY (6335ms)
β Test JOIN (7306ms)
β Test nested fields display (7174ms)
20 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 20 β
β Passing: 20 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 22 seconds β
β Spec Ran: ui.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/sql/work (2 seconds)
bench/.cypress/videos/ui.spec.js.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ui.spec.js 01:22 20 20 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 01:22 20 20 - - -
yarn cypress:run
yarn run v1.22.10
$ cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 4 found (01-create.spec.ts, 02-edit.spec.ts, 03-details.spec.ts, 04-download.spec. β
β ts) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 01-create.spec.ts (1 of 4)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Adding sample data
β Adds sample data (22666ms)
Cypress
β Visits Reporting homepage (95ms)
β Visit Create page (12898ms)
β Create a new on-demand report definition (27331ms)
β Create a new scheduled report definition (27785ms)
5 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 31 seconds β
β Spec Ran: 01-create.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/01-create.spe
c.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 02-edit.spec.ts (2 of 4)
Cypress
β Visit edit page, update name and description (27362ms)
β Visit edit page, change report trigger (26548ms)
β Visit edit page, change report trigger back (26525ms)
3 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 3 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 21 seconds β
β Spec Ran: 02-edit.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/02-edit.spec.
ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 03-details.spec.ts (3 of 4)
Cypress
β Visit report definition details page (14050ms)
β Visit report details page (12706ms)
2 passing (27s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 2 β
β Passing: 2 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 27 seconds β
β Spec Ran: 03-details.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (0 seconds)
ds-reports/dashboards-reports/.cypress/videos/03-details.sp
ec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 04-download.spec.ts (4 of 4)
Cypress
β Download from reporting homepage (12750ms)
β Download pdf from in-context menu (5564ms)
β Download png from in-context menu (5703ms)
β Download csv from saved search in-context menu (10575ms)
1) Download from Report definition details page
4 passing (2m)
1 failing
1) Cypress
Download from Report definition details page:
AssertionError: Timed out retrying: Expected to find element: `#downloadInProgressLoadingModal`, but never found it.
at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/04-download.spec.ts:157:12)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 4 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 1 β
β Video: true β
β Duration: 1 minute, 45 seconds β
β Spec Ran: 04-download.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Screenshots)
- /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards (1280x720)
-reports/.cypress/screenshots/04-download.spec.ts/Cypress -- Download from Repor
t definition details page (failed).png
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (3 seconds)
ds-reports/dashboards-reports/.cypress/videos/04-download.s
pec.ts.mp4
=============================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β 01-create.spec.ts 01:31 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 02-edit.spec.ts 01:21 3 3 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 03-details.spec.ts 00:27 2 2 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 04-download.spec.ts 01:45 5 4 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 4 failed (25%) 05:06 15 14 1 - -
/home/ubuntu/.cache/Cypress/5.6.0/Cypress/Cypress --no-sandbox -- --run-project /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports --cwd /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports[135474]: ../../third_party/electron_node/src/api/callback.cc:226:MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate *, Local<v8::Object>, Local<v8::Function>, int, Local<v8::Value> *, node::async_context): Assertion `(env) != nullptr' failed.
The Test Runner unexpectedly exited via a exit event with signal SIGABRT
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
----------
Platform: linux (Ubuntu - 20.04)
Cypress Version: 5.6.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn cypress:run
yarn run v1.22.10
$ cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 4 found (01-create.spec.ts, 02-edit.spec.ts, 03-details.spec.ts, 04-download.spec. β
β ts) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 01-create.spec.ts (1 of 4)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Adding sample data
β Adds sample data (22666ms)
Cypress
β Visits Reporting homepage (95ms)
β Visit Create page (12898ms)
β Create a new on-demand report definition (27331ms)
β Create a new scheduled report definition (27785ms)
5 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 31 seconds β
β Spec Ran: 01-create.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/01-create.spe
c.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 02-edit.spec.ts (2 of 4)
Cypress
β Visit edit page, update name and description (27362ms)
β Visit edit page, change report trigger (26548ms)
β Visit edit page, change report trigger back (26525ms)
3 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 3 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 21 seconds β
β Spec Ran: 02-edit.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (2 seconds)
ds-reports/dashboards-reports/.cypress/videos/02-edit.spec.
ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 03-details.spec.ts (3 of 4)
Cypress
β Visit report definition details page (14050ms)
β Visit report details page (12706ms)
2 passing (27s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 2 β
β Passing: 2 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 27 seconds β
β Spec Ran: 03-details.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (0 seconds)
ds-reports/dashboards-reports/.cypress/videos/03-details.sp
ec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 04-download.spec.ts (4 of 4)
Cypress
β Download from reporting homepage (12750ms)
β Download pdf from in-context menu (5564ms)
β Download png from in-context menu (5703ms)
β Download csv from saved search in-context menu (10575ms)
1) Download from Report definition details page
4 passing (2m)
1 failing
1) Cypress
Download from Report definition details page:
AssertionError: Timed out retrying: Expected to find element: `#downloadInProgressLoadingModal`, but never found it.
at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/04-download.spec.ts:157:12)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 4 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 1 β
β Video: true β
β Duration: 1 minute, 45 seconds β
β Spec Ran: 04-download.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Screenshots)
- /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards (1280x720)
-reports/.cypress/screenshots/04-download.spec.ts/Cypress -- Download from Repor
t definition details page (failed).png
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (3 seconds)
ds-reports/dashboards-reports/.cypress/videos/04-download.s
pec.ts.mp4
=============================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β 01-create.spec.ts 01:31 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 02-edit.spec.ts 01:21 3 3 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 03-details.spec.ts 00:27 2 2 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 04-download.spec.ts 01:45 5 4 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 4 failed (25%) 05:06 15 14 1 - -
/home/ubuntu/.cache/Cypress/5.6.0/Cypress/Cypress --no-sandbox -- --run-project /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports --cwd /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports[135474]: ../../third_party/electron_node/src/api/callback.cc:226:MaybeLocal<v8::Value> node::MakeCallback(v8::Isolate *, Local<v8::Object>, Local<v8::Function>, int, Local<v8::Value> *, node::async_context): Assertion `(env) != nullptr' failed.
The Test Runner unexpectedly exited via a exit event with signal SIGABRT
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
----------
Platform: linux (Ubuntu - 20.04)
Cypress Version: 5.6.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports/dashboards-reports$ cd ..
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/dashboards-reports$ cd ..
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins$ git clone https://github.com/opensearch-project/trace-analytics.git
Cloning into 'trace-analytics'...
remote: Enumerating objects: 6760, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6760 (delta 0), reused 0 (delta 0), pack-reused 6757
Receiving objects: 100% (6760/6760), 20.41 MiB | 34.31 MiB/s, done.
Resolving deltas: 100% (4410/4410), done.
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins$ cd trace-analytics/
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics$ git checkout tags/1.2.0.0
Note: switching to 'tags/1.2.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 4fde404 Update cypress timezone environment (#270) (#272)
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics$ npm install cypress@^5.0.0 -g
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics$ npm uninstall -g cypress
removed 209 packages in 0.875s
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics$ npm install cypress@^5.0.0 -g
npm WARN deprecated querystring@0.2.0: The
/home/ubuntu/.nvm/versions/node/v10.23.1/bin/cypress -> /home/ubuntu/.nvm/versions/node/v10.23.1/lib/node_modules/cypress/bin/cypress
> cypress@5.6.0 postinstall /home/ubuntu/.nvm/versions/node/v10.23.1/lib/node_modules/cypress
> node index.js --exec install
Cypress 5.6.0 is installed in /home/ubuntu/.cache/Cypress/5.6.0
+ cypress@5.6.0
added 209 packages from 137 contributors in 4.668s
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics$ cd dashboards-observability/
ubuntu@ip-172-31-52-101:~/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability$ yarn cypress:run
yarn run v1.22.10
$ TZ=America/Los_Angeles cypress run
=============================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 5 found (notebooks.spec.js, panels.spec.js, trace_analytics_dashboard.spec.js, tra β
β ce_analytics_services.spec.js, trace_analytics_traces.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: notebooks.spec.js (1 of 5)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Oops...we found an error preparing this test file:
.cypress/integration/notebooks.spec.js
The error was:
Error: Webpack Compilation Error
./.cypress/integration/notebooks.spec.js
Module not found: Error: Can't resolve '@cypress/skip-test' in '/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration'
resolve '@cypress/skip-test' in '/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration'
Parsed request is a module
using description file: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/package.json (relative path: ./.cypress/integration)
Field 'browser' doesn't contain a valid alias configuration
Looked for and couldn't find the file at the following paths:
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/integration/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/.cypress/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/dashboards-observability/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-analytics/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/node_modules]
[/home/ubuntu/repos/node_modules]
[/home/ubuntu/node_modules]
[/home/node_modules]
[/node_modules]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.js]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.json]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.jsx]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.mjs]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.coffee]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.ts]
[/home/ubuntu/repos/OpenSearch-Dashboards-1/node_modules/@cypress/skip-test.tsx]
@ ./.cypress/integration/notebooks.spec.js 5:16-45
This occurred while Cypress was compiling and bundling your test code. This is usually caused by:
- A missing file or dependency
- A syntax error in the file or one of its dependencies
Fix the error in your code and re-run your tests.
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 0 β
β Passing: 0 β
β Failing: 1 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 0 seconds β
β Spec Ran: notebooks.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (0 seconds)
alytics/dashboards-observability/.cypress/videos/notebooks.
spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: panels.spec.js (2 of 5)
Adding sample data and visualization
β Adds sample flights data for visualization paragraph (6846ms)
Creating visualizations
β Create first visualization in event analytics (13049ms)
β Create second visualization in event analytics (13238ms)
Testing panels table
β Displays error toast for invalid notebook name (7860ms)
β Creates a panel and redirects to the panel (8144ms)
β Duplicates and renames a panel (19432ms)
β Searches existing panel (10270ms)
β Deletes panels (14784ms)
Testing a panel
β Move to test panel (10746ms)
β Change date filter of the panel (4776ms)
β Add existing visualization #1 (8412ms)
β Add existing visualization #2 (8233ms)
β Add ppl filter to panel (7234ms)
β Drag and drop a visualization (9426ms)
β Delete a visualization (9465ms)
β Duplicate a visualization (6302ms)
β Replace a visualization (9839ms)
β Move to explorer to create new visualization (6296ms)
β Move to test panel and check visualization edit button (17130ms)
Clean up all test data
β Delete visualizations from event analytics (9780ms)
β Deletes test panel (9773ms)
21 passing (4m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 21 β
β Passing: 21 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 3 minutes, 31 seconds β
β Spec Ran: panels.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (6 seconds)
alytics/dashboards-observability/.cypress/videos/panels.spe
c.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_dashboard.spec.js (3 of 5)
Dump test data
β Indexes test data (1491ms)
Testing dashboard table empty state
β Renders empty state (4707ms)
Testing dashboard table
β Renders the dashboard table (5173ms)
β Adds the percentile filters (11160ms)
β Opens latency trend popover (13825ms)
β Redirects to traces table with filter (15461ms)
Testing plots
β Renders service map (6173ms)
β Renders plots (4089ms)
8 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 8 β
β Passing: 8 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 2 seconds β
β Spec Ran: trace_analytics_dashboard.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_dashboard.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_services.spec.js (4 of 5)
Testing services table empty state
β Renders empty state (4695ms)
Testing services table
β Renders the services table (4372ms)
β Searches correctly (5596ms)
Testing service view empty state
β Renders service view empty state (4726ms)
Testing service view
β Renders service view (3909ms)
β Renders spans data grid, flyout, filters (7387ms)
6 passing (31s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 6 β
β Passing: 6 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 30 seconds β
β Spec Ran: trace_analytics_services.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_services.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_traces.spec.js (5 of 5)
Testing traces table empty state
β Renders empty state (4703ms)
Testing traces table
β Renders the traces table (4500ms)
β Searches correctly (5912ms)
Testing trace view
β Renders the trace view (4825ms)
β Renders data grid, flyout and filters (8445ms)
5 passing (28s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 28 seconds β
β Spec Ran: trace_analytics_traces.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/trace-an (1 second)
alytics/dashboards-observability/.cypress/videos/trace_anal
ytics_traces.spec.js.mp4
=============================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β notebooks.spec.js 0ms - - 1 - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β panels.spec.js 03:31 21 21 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_dashboard.spec.js 01:02 8 8 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_services.spec.js 00:30 6 6 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_traces.spec.js 00:28 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1 of 5 failed (20%) 05:32 40 40 1 - -
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn cypress:run
yarn run v1.22.10
$ TZ=America/Los_Angeles cypress run
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 1 found (ui.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ui.spec.js (1 of 1)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Dump test data
β Indexes test data for gantt chart (706ms)
Save a gantt chart
β Creates and saves a gantt chart (22283ms)
Render and configure a gantt chart
β Renders no data message (10548ms)
β Renders the chart (22933ms)
Configure panel settings
β Changes y-axis label (16544ms)
β Changes x-axis label (16363ms)
β Changes time formats (23320ms)
β Hides legends (13787ms)
Add gantt chart to dashboard
β Adds gantt chart to dashboard (8985ms)
9 passing (2m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 9 β
β Passing: 9 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 2 minutes, 15 seconds β
β Spec Ran: ui.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/dashboar (3 seconds)
ds-visualizations/gantt-chart/.cypress/videos/ui.spec.js.mp
4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ui.spec.js 02:15 9 9 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 02:15 9 9 - - -
Done in 146.50s.
yarn cy:run --config baseurl=http://localhost:5601
yarn run v1.22.10
$ cypress run --config baseurl=http://localhost:5601
=============================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 3 found (ad/dashboard/ad_dashboard.spec.ts, ad/detectorList/detector_list.spec.t β
β s, ad/workflow/create_detector.spec.ts) β
β Experiments: experimentalNetworkStubbing=true β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/dashboard/ad_dashboard.spec.ts (1 of 3)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
AD Dashboard
β Empty dashboard - no detector index (2702ms)
β Empty dashboard - empty detector index (901ms)
β AD dashboard - single running detector (736ms)
β AD dashboard - redirect to create detector (1070ms)
β Filter by detector (967ms)
β Filter by detector state (919ms)
6 passing (7s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 6 β
β Passing: 6 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 7 seconds β
β Spec Ran: ad/dashboard/ad_dashboard.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/dashboard/ad
_dashboard.spec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/detectorList/detector_list.spec.ts (2 of 3)
Detector list
β Empty detectors - no detector index (2737ms)
β Empty detectors - empty detector index (935ms)
β One detector - single stopped detector index (810ms)
β Multiple detectors - multiple detectors index (1288ms)
β Redirect to create detector (738ms)
β Start single detector (966ms)
β Stop single detector (1013ms)
- Delete single detector
β Filter by detector search (1282ms)
β Filter by detector state (990ms)
9 passing (11s)
1 pending
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 10 β
β Passing: 9 β
β Failing: 0 β
β Pending: 1 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 10 seconds β
β Spec Ran: ad/detectorList/detector_list.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/detectorList
/detector_list.spec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: ad/workflow/create_detector.spec.ts (3 of 3)
Create detector
- Create detector - from dashboard
0 passing (7ms)
1 pending
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 1 β
β Passing: 0 β
β Failing: 0 β
β Pending: 1 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 0 seconds β
β Spec Ran: ad/workflow/create_detector.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ubuntu/repos/OpenSearch-Dashboards-1/plugins/anomaly- (0 seconds)
detection-dashboards-plugin/.cypress/videos/ad/workflow/cre
ate_detector.spec.ts.mp4
=============================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β ad/dashboard/ad_dashboard.spec.ts 00:07 6 6 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β ad/detectorList/detector_list.spec. 00:10 10 9 - 1 - β
β ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β ad/workflow/create_detector.spec.ts 7ms 1 - - 1 - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 00:18 17 15 - 2 -
Done in 30.82s.
Overall results for OpenSearch Dashboards integration tests:
Tests running fine. Environmental problem related to cypress:
Reporting:
---
β― yarn cypress:run
yarn run v1.22.15
$ cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 4 found (01-create.spec.ts, 02-edit.spec.ts, 03-details.spec.ts, 04-download.spec. β
β ts) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 01-create.spec.ts (1 of 4)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Adding sample data
β Adds sample data (16711ms)
Cypress
β Visits Reporting homepage (457ms)
β Visit Create page (12940ms)
β Create a new on-demand report definition (27778ms)
β Create a new scheduled report definition (28334ms)
5 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 28 seconds β
β Spec Ran: 01-create.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.das (11 seconds)
hboards-reports/dashboards-reports/.cypress/videos/01-creat
e.spec.ts.mp4
Compression progress: 100%
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 02-edit.spec.ts (2 of 4)
Cypress
β Visit edit page, update name and description (27830ms)
β Visit edit page, change report trigger (26699ms)
β Visit edit page, change report trigger back (26658ms)
3 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 3 β
β Passing: 3 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 22 seconds β
β Spec Ran: 02-edit.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.das (10 seconds)
hboards-reports/dashboards-reports/.cypress/videos/02-edit.
spec.ts.mp4
Compression progress: 100%
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 03-details.spec.ts (3 of 4)
Cypress
β Visit report definition details page (14182ms)
β Visit report details page (12735ms)
2 passing (28s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 2 β
β Passing: 2 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 27 seconds β
β Spec Ran: 03-details.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.das (3 seconds)
hboards-reports/dashboards-reports/.cypress/videos/03-detai
ls.spec.ts.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: 04-download.spec.ts (4 of 4)
Cypress
β Download from reporting homepage (12830ms)
β Download pdf from in-context menu (5804ms)
β Download png from in-context menu (6289ms)
β Download csv from saved search in-context menu (11186ms)
β Download from Report definition details page (10449ms)
5 passing (47s)
Gtk-Message: 03:12:53.222: GtkDialog mapped without a transient parent. This is discouraged.
(Cypress:19544): dconf-WARNING **: 03:12:53.267: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.291: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.307: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.324: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.340: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.357: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.374: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.390: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.406: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.423: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.440: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.456: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.472: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.488: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.505: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Cypress:19544): dconf-WARNING **: 03:12:53.521: failed to commit changes to dconf: Unknown or unsupported transport βdisabledβ for address βdisabled:β
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 47 seconds β
β Spec Ran: 04-download.spec.ts β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.das (8 seconds)
hboards-reports/dashboards-reports/.cypress/videos/04-downl
oad.spec.ts.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β 01-create.spec.ts 01:28 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 02-edit.spec.ts 01:22 3 3 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 03-details.spec.ts 00:27 2 2 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β 04-download.spec.ts 00:47 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 04:06 15 15 - - -
---
Observability
---
β― yarn cypress:run
yarn run v1.22.15
$ TZ=America/Los_Angeles cypress run
====================================================================================================
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 5.6.0 β
β Browser: Electron 85 (headless) β
β Specs: 5 found (notebooks.spec.js, panels.spec.js, trace_analytics_dashboard.spec.js, tra β
β ce_analytics_services.spec.js, trace_analytics_traces.spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: notebooks.spec.js (1 of 5)
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Adding sample data and visualization
β Adds sample flights data for visualization paragraph (8940ms)
Testing notebooks table
β Displays error toast for invalid notebook name (8554ms)
β Creates a notebook and redirects to the notebook (8359ms)
β Duplicates and renames a notebook (19591ms)
β Searches existing notebooks (10524ms)
β Deletes notebooks (15078ms)
Test reporting integration if plugin installed
β Create in-context PDF report from notebook (7909ms)
β Create in-context PNG report from notebook (8681ms)
β Create on-demand report definition from context menu (11784ms)
β View reports homepage from context menu (10240ms)
Testing paragraphs
β Goes into a notebook and creates paragraphs (17669ms)
β Renders markdown (6141ms)
β Shows output message (10932ms)
β Renders input only mode (9153ms)
β Renders output only mode (7390ms)
β Duplicates paragraphs (10719ms)
β Adds a visualization paragraph (17515ms)
β Adds a SQL query paragraph (19712ms)
β Adds a PPL query paragraph (19828ms)
β Clears outputs (11879ms)
β Runs all paragraphs (9428ms)
β Adds paragraph to top and bottom (17423ms)
β Moves paragraphs (10403ms)
β Duplicates and renames the notebook (25410ms)
β Deletes paragraphs (11823ms)
β Deletes notebook (14244ms)
26 passing (6m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 26 β
β Passing: 26 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 5 minutes, 30 seconds β
β Spec Ran: notebooks.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
Compression progress: 25%
Compression progress: 50%
Compression progress: 76%
Compression progress: 100%
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.obs (42 seconds)
ervability/dashboards-observability/.cypress/videos/noteboo
ks.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: panels.spec.js (2 of 5)
Adding sample data and visualization
β Adds sample flights data for visualization paragraph (8315ms)
Creating visualizations
β Create first visualization in event analytics (13476ms)
β Create second visualization in event analytics (13548ms)
Testing panels table
β Displays error toast for invalid notebook name (7943ms)
β Creates a panel and redirects to the panel (8246ms)
β Duplicates and renames a panel (19569ms)
β Searches existing panel (10331ms)
β Deletes panels (14866ms)
Testing a panel
β Move to test panel (10834ms)
β Change date filter of the panel (4818ms)
β Add existing visualization #1 (8399ms)
β Add existing visualization #2 (8313ms)
β Add ppl filter to panel (7351ms)
β Drag and drop a visualization (9492ms)
β Delete a visualization (9477ms)
β Duplicate a visualization (6371ms)
β Replace a visualization (9992ms)
β Move to explorer to create new visualization (6354ms)
β Move to test panel and check visualization edit button (17248ms)
Clean up all test data
β Delete visualizations from event analytics (9922ms)
β Deletes test panel (9847ms)
21 passing (4m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 21 β
β Passing: 21 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 3 minutes, 35 seconds β
β Spec Ran: panels.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
Compression progress: 38%
Compression progress: 77%
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.obs (27 seconds)
ervability/dashboards-observability/.cypress/videos/panels.
spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_dashboard.spec.js (3 of 5)
Dump test data
β Indexes test data (2968ms)
Testing dashboard table empty state
β Renders empty state (4979ms)
Testing dashboard table
β Renders the dashboard table (6404ms)
β Adds the percentile filters (12571ms)
β Opens latency trend popover (16440ms)
β Redirects to traces table with filter (16412ms)
Testing plots
β Renders service map (7130ms)
β Renders plots (5593ms)
8 passing (1m)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 8 β
β Passing: 8 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 1 minute, 12 seconds β
β Spec Ran: trace_analytics_dashboard.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.obs (9 seconds)
ervability/dashboards-observability/.cypress/videos/trace_a
nalytics_dashboard.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_services.spec.js (4 of 5)
Testing services table empty state
β Renders empty state (4720ms)
Testing services table
β Renders the services table (5250ms)
β Searches correctly (6296ms)
Testing service view empty state
β Renders service view empty state (4798ms)
Testing service view
β Renders service view (4808ms)
β Renders spans data grid, flyout, filters (8206ms)
6 passing (34s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 6 β
β Passing: 6 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 34 seconds β
β Spec Ran: trace_analytics_services.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.obs (4 seconds)
ervability/dashboards-observability/.cypress/videos/trace_a
nalytics_services.spec.js.mp4
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Running: trace_analytics_traces.spec.js (5 of 5)
Testing traces table empty state
β Renders empty state (4727ms)
Testing traces table
β Renders the traces table (5224ms)
β Searches correctly (6752ms)
Testing trace view
β Renders the trace view (4938ms)
β Renders data grid, flyout and filters (8718ms)
5 passing (31s)
(Results)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tests: 5 β
β Passing: 5 β
β Failing: 0 β
β Pending: 0 β
β Skipped: 0 β
β Screenshots: 0 β
β Video: true β
β Duration: 30 seconds β
β Spec Ran: trace_analytics_traces.spec.js β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Video)
- Started processing: Compressing to 32 CRF
- Finished processing: /home/ec2-user/projects/os-1.2.2/opensearch-dashboards/.obs (4 seconds)
ervability/dashboards-observability/.cypress/videos/trace_a
nalytics_traces.spec.js.mp4
====================================================================================================
(Run Finished)
Spec Tests Passing Failing Pending Skipped
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β notebooks.spec.js 05:30 26 26 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β panels.spec.js 03:35 21 21 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_dashboard.spec.js 01:12 8 8 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_services.spec.js 00:34 6 6 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β trace_analytics_traces.spec.js 00:30 5 5 - - - β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β All specs passed! 11:23 66 66 - - -
Done in 788.82s.
Release OpenSearch and OpenSearch Dashboards 1.2.2
This is an out of band release, it will follow the release process but normal steps will be abbreviated.
See https://opensearch.org/blog/releases/2021/12/update-to-1-2-1/ for more information.
Preparation
Development
v1.2.2
in all projects have been resolved.Post Release