Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RELEASE] Release version 1.2.2 #1333

Closed
38 of 39 tasks
gaiksaya opened this issue Dec 14, 2021 · 9 comments
Closed
38 of 39 tasks

[RELEASE] Release version 1.2.2 #1333

gaiksaya opened this issue Dec 14, 2021 · 9 comments
Assignees

Comments

@gaiksaya
Copy link
Member

gaiksaya commented Dec 14, 2021

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

  • Assign this issue to a release owner.
  • Document any new quality requirements or changes.
  • Create a version label in each component repo for this, and the next minor release.
  • Confirm that OpenSearch-Dashboards does not need an updated manifest

Development

Post Release

@gaiksaya gaiksaya self-assigned this Dec 14, 2021
@dblock
Copy link
Member

dblock commented Dec 15, 2021

@davidlago
Copy link

Security plugin: opensearch-project/security#1525

@gaiksaya
Copy link
Member Author

OpenSearch 1.2.2 Release issue - Release candidate testing instructions

  • Use Docker-Compose to setup a cluster
    • Download this gist as docker-compose.yml on your machine
    • Get latest image versions docker-compose pull
    • Start the cluster docker-compose up
  • OpenSearch docker
  • Start without security
    • Docker command 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
    • Connect command curl https://localhost:9200
  • Start with security
    • Docker command docker pull opensearchstaging/opensearch:1.2.2 && docker run -it -p 9200:9200 -e "discovery.type=single-node" opensearchstaging/opensearch:1.2.2
    • Connect command curl --insecure https://admin:admin@localhost:9200
  • Use TARs to deploy OpenSearch Manually (Updated 2021/12/15 10:29 PST)

From Docker Release

@gaiksaya
Copy link
Member Author

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 opensearch-project/OpenSearch#1240
@peterzhuamazon is working on running the snapshot workflow that will place the artifact in that location.

@gaiksaya
Copy link
Member Author

gaiksaya commented Dec 15, 2021

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 |

@kavilla
Copy link
Member

kavilla commented Dec 16, 2021

Dashboards

Security enabled

alertingDashboards

Results:

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        -        -        -  

indexManagementDashboards

Results:

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        -        -        -  

queryWorkbenchDashboards

Results:

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        -        -        - 

reportsDashboards

Results:

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.

observabilityDashboards

Results:

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        -        -    

===

ganttChartDashboards

Results:

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.

anomalyDetectionDashboards

Results:

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        -  

@kavilla
Copy link
Member

kavilla commented Dec 16, 2021

NoSecurity

alertingDashboards

Results:

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        -        -        -  

indexManagementDashboardsNoSecurity

Results:

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        -  

queryWorkbenchDashboardsNoSecurity

Results:

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        -        -        -  

reportsDashboardsNoSecurity

Results:

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.

observabilityDashboardsNoSecurity

Results:

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.

ganttChartDashboardsNoSecurity

Results:

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.

anomalyDetectionDashboardsNoSecurity

Results:

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.

@kavilla
Copy link
Member

kavilla commented Dec 16, 2021

Overall results for OpenSearch Dashboards integration tests:

  • Security enabled
    • alertingDashboards - OK
    • indexManagementDashboards - OK
    • queryWorkbenchDashboards - OK
    • reportsDashboards - 1 TEST FAILED
    • observabilityDashboards - 1 TEST FAILED
    • ganttChartDashboards - OK
    • anomalyDetectionDashboards - OK
  • Security not enabled
    • alertingDashboards - OK
    • indexManagementDashboards - 1 TEST FAILED
    • queryWorkbenchDashboards - OK
    • reportsDashboards - 1 TEST FAILED
    • observabilityDashboards - 1 TEST FAILED
    • ganttChartDashboards - OK
    • anomalyDetectionDashboards - OK

@kavilla
Copy link
Member

kavilla commented Dec 16, 2021

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.
     

dblock referenced this issue in opensearch-project/OpenSearch Dec 16, 2021
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants