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

[OpenSearch-Dashboards] 1.2.0 Final integration test after performance verification #1118

Closed
Tracked by #567
peterzhuamazon opened this issue Nov 22, 2021 · 33 comments
Closed
Tracked by #567
Assignees
Labels

Comments

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Nov 22, 2021

We will use this post to store the latest integTest results after #1560 for OpenSearch-Dashboards.

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards x64 SEC ✅


====================================================================================================

  (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 (67019ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2629ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64842ms)
    can be in 'Error' state
      ✓ by using a wrong destination (2242ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2858ms)


  5 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 22 seconds                                                            │
  │ Spec Ran:     alert_spec.js                                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  51%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (20 seconds)
                          oards-plugin/cypress/videos/alert_spec.js.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  bucket_level_monitor_spec.js                                                    (2 of 4)


  Bucket-Level Monitors
    can be created
      ✓ by extraction query (32960ms)
      ✓ by visual editor (21813ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1100ms)
      when defined by visual editor
        ✓ by adding trigger (11658ms)


  4 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 15 seconds                                                             │
  │ Spec Ran:     bucket_level_monitor_spec.js                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  99%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (12 seconds)
                          oards-plugin/cypress/videos/bucket_level_monitor_spec.js.mp
                          4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  destination_spec.js                                                             (3 of 4)


  Destinations
    can be created
      ✓ with a custom webhook (7256ms)
    can be updated
      ✓ by changing the name (3788ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2081ms)
    can be searched
      ✓ by name (2721ms)


  4 passing (17s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     17 seconds                                                                       │
  │ Spec Ran:     destination_spec.js                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (3 seconds)
                          oards-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 (9447ms)
    can be updated
      ✓ by changing the name (4064ms)
    can be deleted
      ✓ from "Actions" menu (1600ms)
    can be searched
      ✓ by name (4821ms)


  4 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     21 seconds                                                                       │
  │ Spec Ran:     query_level_monitor_spec.js                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (3 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  alert_spec.js                            02:22        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  bucket_level_monitor_spec.js             01:15        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:17        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:21        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:17       17       17        -        -        -

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards x64 NOSEC ✅

====================================================================================================

  (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 (66511ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2289ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64388ms)
    can be in 'Error' state
      ✓ by using a wrong destination (1997ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2658ms)


  5 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 19 seconds                                                            │
  │ Spec Ran:     alert_spec.js                                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  52%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (19 seconds)
                          oards-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 (23467ms)
      ✓ by visual editor (16691ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1531ms)
      when defined by visual editor
        ✓ by adding trigger (11350ms)


  4 passing (59s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     59 seconds                                                                       │
  │ Spec Ran:     bucket_level_monitor_spec.js                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (9 seconds)
                          oards-plugin/cypress/videos/bucket_level_monitor_spec.js.mp
                          4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  destination_spec.js                                                             (3 of 4)


  Destinations
    can be created
      ✓ with a custom webhook (6407ms)
    can be updated
      ✓ by changing the name (4048ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2450ms)
    can be searched
      ✓ by name (2927ms)


  4 passing (17s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     17 seconds                                                                       │
  │ Spec Ran:     destination_spec.js                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (3 seconds)
                          oards-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 (8718ms)
    can be updated
      ✓ by changing the name (4074ms)
    can be deleted
      ✓ from "Actions" menu (2044ms)
    can be searched
      ✓ by name (4753ms)


  4 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     21 seconds                                                                       │
  │ Spec Ran:     query_level_monitor_spec.js                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (4 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  alert_spec.js                            02:19        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  bucket_level_monitor_spec.js             00:59        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:17        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:21        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:58       17       17        -        -        -

@peterzhuamazon
Copy link
Member Author

AD Dashboards x64 SEC ✅


====================================================================================================

  (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 (6112ms)
    ✓ Empty dashboard - empty detector index (2156ms)
    ✓ AD dashboard - single running detector (1489ms)
    ✓ AD dashboard - redirect to create detector (1146ms)
    ✓ Filter by detector (1608ms)
    ✓ Filter by detector state (1428ms)


  6 passing (14s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     14 seconds                                                                       │
  │ Spec Ran:     ad/dashboard/ad_dashboard.spec.ts                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/dashboard/ad_dashb
                          oard.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/detectorList/detector_list.spec.ts                                           (2 of 3)


  Detector list
    ✓ Empty detectors - no detector index (4216ms)
    ✓ Empty detectors - empty detector index (1496ms)
    ✓ One detector - single stopped detector index (1322ms)
    ✓ Multiple detectors - multiple detectors index (1894ms)
    ✓ Redirect to create detector (1226ms)
    ✓ Start single detector (1420ms)
    ✓ Stop single detector (1452ms)
    - Delete single detector
    ✓ Filter by detector search (2012ms)
    ✓ Filter by detector state (1466ms)


  9 passing (17s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        10                                                                               │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     16 seconds                                                                       │
  │ Spec Ran:     ad/detectorList/detector_list.spec.ts                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (3 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/detectorList/detec
                          tor_list.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/workflow/create_detector.spec.ts                                             (3 of 3)


  Create detector
    - Create detector - from dashboard


  0 passing (17ms)
  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/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (0 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/workflow/create_de
                          tector.spec.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ad/dashboard/ad_dashboard.spec.ts        00:14        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/detectorList/detector_list.spec.      00:16       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts        9ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:30       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

AD Dashboards x64 NOSEC ✅


====================================================================================================

  (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 (4773ms)
    ✓ Empty dashboard - empty detector index (1794ms)
    ✓ AD dashboard - single running detector (919ms)
    ✓ AD dashboard - redirect to create detector (1322ms)
    ✓ Filter by detector (1364ms)
    ✓ Filter by detector state (1373ms)


  6 passing (12s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     11 seconds                                                                       │
  │ Spec Ran:     ad/dashboard/ad_dashboard.spec.ts                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/dashboard/ad_dashb
                          oard.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/detectorList/detector_list.spec.ts                                           (2 of 3)


  Detector list
    ✓ Empty detectors - no detector index (4053ms)
    ✓ Empty detectors - empty detector index (1374ms)
    ✓ One detector - single stopped detector index (1295ms)
    ✓ Multiple detectors - multiple detectors index (2172ms)
    ✓ Redirect to create detector (1005ms)
    ✓ Start single detector (1303ms)
    ✓ Stop single detector (1377ms)
    - Delete single detector
    ✓ Filter by detector search (1887ms)
    ✓ Filter by detector state (1276ms)


  9 passing (16s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        10                                                                               │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     15 seconds                                                                       │
  │ Spec Ran:     ad/detectorList/detector_list.spec.ts                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/detectorList/detec
                          tor_list.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/workflow/create_detector.spec.ts                                             (3 of 3)


  Create detector
    - Create detector - from dashboard


  0 passing (18ms)
  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/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (0 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/workflow/create_de
                          tector.spec.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ad/dashboard/ad_dashboard.spec.ts        00:11        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/detectorList/detector_list.spec.      00:15       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts       10ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:27       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

IM Dashboards x64 SEC ✅


====================================================================================================

  (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 (9273ms)
    can show data stream indices
      ✓ successfully (6567ms)
    can have policies applied
      ✓ successfully (7298ms)


  3 passing (26s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     26 seconds                                                                       │
  │ Spec Ran:     indices_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (4 seconds)
                          nt-dashboards-plugin/cypress/videos/indices_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  managed_indices_spec.js                                                         (2 of 5)


  Managed indices
    can have policies removed
      ✓ successfully (12727ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (5024ms)
    can change policies
      ✓ successfully (14195ms)
    can manage data stream indices
      ✓ successfully (6817ms)


  4 passing (43s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     43 seconds                                                                       │
  │ Spec Ran:     managed_indices_spec.js                                                          │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (6 seconds)
                          nt-dashboards-plugin/cypress/videos/managed_indices_spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  policies_spec.js                                                                (3 of 5)


  Policies
    can be created
      ✓ successfully (9216ms)
    can be edited
      ✓ successfully (6300ms)
    can be deleted
      ✓ successfully (2295ms)
    can be searched
      ✓ successfully (3526ms)
    can be viewed
      ✓ successfully (1487ms)


  5 passing (24s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     23 seconds                                                                       │
  │ Spec Ran:     policies_spec.js                                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (4 seconds)
                          nt-dashboards-plugin/cypress/videos/policies_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  rollups_spec.js                                                                 (4 of 5)


  Rollups
    can be created
      ✓ successfully (16624ms)
    can be edited
      ✓ successfully (8298ms)
    can be deleted
      ✓ successfully (7412ms)
    can be enabled and disabled
      ✓ successfully (6783ms)


  4 passing (40s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     40 seconds                                                                       │
  │ Spec Ran:     rollups_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (6 seconds)
                          nt-dashboards-plugin/cypress/videos/rollups_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  transforms_spec.js                                                              (5 of 5)


  Transforms
    can be created
      ✓ successfully (13412ms)
    can be edited
      ✓ successfully (4391ms)
    can be deleted
      ✓ successfully (3321ms)
    can be enabled and disabled
      ✓ successfully (4682ms)


  4 passing (30s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     29 seconds                                                                       │
  │ Spec Ran:     transforms_spec.js                                                               │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (5 seconds)
                          nt-dashboards-plugin/cypress/videos/transforms_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:26        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:43        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:23        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:40        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  transforms_spec.js                       00:29        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:43       21       20        -        1        -

@peterzhuamazon
Copy link
Member Author

IM Dashboards x64 NOSEC ✅


====================================================================================================

  (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 (9824ms)
    can show data stream indices
      ✓ successfully (6091ms)
    can have policies applied
      ✓ successfully (6377ms)


  3 passing (26s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     26 seconds                                                                       │
  │ Spec Ran:     indices_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (4 seconds)
                          nt-dashboards-plugin/cypress/videos/indices_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  managed_indices_spec.js                                                         (2 of 5)


  Managed indices
    can have policies removed
      ✓ successfully (12965ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (4986ms)
    can change policies
      ✓ successfully (13180ms)
    can manage data stream indices
      ✓ successfully (6411ms)


  4 passing (42s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     41 seconds                                                                       │
  │ Spec Ran:     managed_indices_spec.js                                                          │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (6 seconds)
                          nt-dashboards-plugin/cypress/videos/managed_indices_spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  policies_spec.js                                                                (3 of 5)


  Policies
    can be created
      ✓ successfully (9166ms)
    can be edited
      ✓ successfully (5439ms)
    can be deleted
      ✓ successfully (2286ms)
    can be searched
      ✓ successfully (3897ms)
    can be viewed
      ✓ successfully (1413ms)


  5 passing (23s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     23 seconds                                                                       │
  │ Spec Ran:     policies_spec.js                                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (3 seconds)
                          nt-dashboards-plugin/cypress/videos/policies_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  rollups_spec.js                                                                 (4 of 5)


  Rollups
    can be created
      ✓ successfully (19617ms)
    can be edited
      ✓ successfully (10207ms)
    can be deleted
      ✓ successfully (8407ms)
    can be enabled and disabled
      ✓ successfully (8058ms)


  4 passing (47s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     47 seconds                                                                       │
  │ Spec Ran:     rollups_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (7 seconds)
                          nt-dashboards-plugin/cypress/videos/rollups_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  transforms_spec.js                                                              (5 of 5)


  Transforms
    can be created
      ✓ successfully (13422ms)
    can be edited
      ✓ successfully (3935ms)
    can be deleted
      ✓ successfully (2661ms)
    can be enabled and disabled
      ✓ successfully (4812ms)


  4 passing (29s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     29 seconds                                                                       │
  │ Spec Ran:     transforms_spec.js                                                               │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (4 seconds)
                          nt-dashboards-plugin/cypress/videos/transforms_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:26        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:41        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:23        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:47        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  transforms_spec.js                       00:29        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:47       21       20        -        1        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Nov 22, 2021

ui.spec.js.ganttcharts.1.2.0.mp4
Gantt Charts Dashboards x64 SEC ❌


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (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 (2282ms)

  Save a gantt chart
    ✓ Creates and saves a gantt chart (23661ms)

  Render and configure a gantt chart
    ✓ Renders no data message (10423ms)
    ✓ Renders the chart (23040ms)

  Configure panel settings
    ✓ Changes y-axis label (16649ms)
    ✓ Changes x-axis label (16587ms)
    1) Changes time formats
    ✓ Hides legends (13941ms)

  Add gantt chart to dashboard
    ✓ Adds gantt chart to dashboard (9123ms)


  8 passing (3m)
  1 failing

  1) Configure panel settings
       Changes time formats:
     AssertionError: Timed out retrying after 60000ms: Expected to find content: '12:59:07.303 PM' within the element: [ <text>, 4 more... ] but never did.
      at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/ui.spec.js:282:58)




  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        9                                                                                │
  │ Passing:      8                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     3 minutes, 7 seconds                                                             │
  │ Spec Ran:     ui.spec.js                                                                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/.cypress/screenshots/ui     (1280x720)
     .spec.js/Configure panel settings -- Changes time formats (failed).png


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  38%
    Compression progress:  78%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/.c   (27 seconds)
                          ypress/videos/ui.spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✖  ui.spec.js                               03:07        9        8        1        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  1 of 1 failed (100%)                     03:07        9        8        1        -        -

TZ=America/Los_Angeles yarn cypress run
@joshuali925 PR fix: opensearch-project/dashboards-visualizations#41

Gantt Charts Dashboards x64 SEC ✅ (Fixed by Running TZ=America/Los_Angeles yarn cypress run, has to setup a specific TimeZone)

yarn run v1.22.15
$ TZ=America/Los_Angeles yarn cypress run
$ /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/node_modules/.bin/cypress run

====================================================================================================

  (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 (1725ms)

  Save a gantt chart
    ✓ Creates and saves a gantt chart (23547ms)

  Render and configure a gantt chart
    ✓ Renders no data message (10459ms)
    ✓ Renders the chart (22984ms)

  Configure panel settings
    ✓ Changes y-axis label (16522ms)
    ✓ Changes x-axis label (16525ms)
    ✓ Changes time formats (23753ms)
    ✓ Hides legends (13855ms)

  Add gantt chart to dashboard
    ✓ Adds gantt chart to dashboard (9034ms)


  9 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        9                                                                                │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 18 seconds                                                            │
  │ Spec Ran:     ui.spec.js                                                                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  53%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/.c   (20 seconds)
                          ypress/videos/ui.spec.js.mp4

    Compression progress:  100%

====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               02:18        9        9        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:18        9        9        -        -        -

Done in 167.85s.

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Nov 22, 2021

TZ=America/Los_Angeles yarn cypress run

Gantt Charts Dashboards x64 NOSEC ✅ (Fixed by Running TZ=America/Los_Angeles yarn cypress run, has to setup a specific TimeZone)


yarn run v1.22.15
$ TZ=America/Los_Angeles yarn cypress run
$ /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/node_modules/.bin/cypress run

====================================================================================================

  (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 (1593ms)

  Save a gantt chart
    ✓ Creates and saves a gantt chart (23625ms)

  Render and configure a gantt chart
    ✓ Renders no data message (10385ms)
    ✓ Renders the chart (22950ms)

  Configure panel settings
    ✓ Changes y-axis label (16488ms)
    ✓ Changes x-axis label (16527ms)
    ✓ Changes time formats (23671ms)
    ✓ Hides legends (13792ms)

  Add gantt chart to dashboard
    ✓ Adds gantt chart to dashboard (9027ms)


  9 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        9                                                                                │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 18 seconds                                                            │
  │ Spec Ran:     ui.spec.js                                                                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  54%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/gantt-chart/.c   (20 seconds)
                          ypress/videos/ui.spec.js.mp4

    Compression progress:  100%

====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               02:18        9        9        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:18        9        9        -        -        -

Done in 167.03s.

@gaiksaya gaiksaya changed the title 1.2.0 Final integration test after performance verification [OpenSearch-Dashboards] 1.2.0 Final integration test after performance verification Nov 22, 2021
@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Nov 22, 2021

https://user-images.githubusercontent.com/65193828/142948575-50bca275-2644-4f13-8235-16ce6ee01191.mp4

Observability Dashboards x64 SEC ❌

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 (10013ms)

  Testing notebooks table
    ✓ Displays error toast for invalid notebook name (8625ms)
    ✓ Creates a notebook and redirects to the notebook (8422ms)
    ✓ Duplicates and renames a notebook (19821ms)
    ✓ Searches existing notebooks (10533ms)
    ✓ Deletes notebooks (15147ms)

  Test reporting integration if plugin installed
    ✓ Create in-context PDF report from notebook (8100ms)
    ✓ Create in-context PNG report from notebook (8783ms)
    ✓ Create on-demand report definition from context menu (12240ms)
    ✓ View reports homepage from context menu (9914ms)

  Testing paragraphs
    ✓ Goes into a notebook and creates paragraphs (18544ms)
    ✓ Renders markdown (6707ms)
    ✓ Shows output message (11140ms)
    ✓ Renders input only mode (9351ms)
    ✓ Renders output only mode (7626ms)
    ✓ Duplicates paragraphs (10973ms)
    ✓ Adds a visualization paragraph (17749ms)
    ✓ Adds a SQL query paragraph (19950ms)
    ✓ Adds a PPL query paragraph (20612ms)
    ✓ Clears outputs (11885ms)
    ✓ Runs all paragraphs (10313ms)
    ✓ Adds paragraph to top and bottom (17905ms)
    ✓ Moves paragraphs (9603ms)
    ✓ Duplicates and renames the notebook (25734ms)
    ✓ Deletes paragraphs (11361ms)
    ✓ Deletes notebook (14103ms)


  26 passing (6m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        26                                                                               │
  │ Passing:      26                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     5 minutes, 35 seconds                                                            │
  │ Spec Ran:     notebooks.spec.js                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  21%
    Compression progress:  43%
    Compression progress:  64%
    Compression progress:  86%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (49 seconds)
                          ervability/.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 (8811ms)

  Creating visualizations
    ✓ Create first visualization in event analytics (14476ms)
    ✓ Create second visualization in event analytics (13571ms)

  Testing panels table
    ✓ Displays error toast for invalid notebook name (7953ms)
    ✓ Creates a panel and redirects to the panel (8304ms)
    ✓ Duplicates and renames a panel (19636ms)
    ✓ Searches existing panel (10431ms)
    ✓ Deletes panels (14987ms)

  Testing a panel
    ✓ Move to test panel (10836ms)
    ✓ Change date filter of the panel (4822ms)
    ✓ Add existing visualization #1 (8419ms)
    ✓ Add existing visualization #2 (8333ms)
    ✓ Add ppl filter to panel (7599ms)
    ✓ Drag and drop a visualization (9569ms)
    ✓ Delete a visualization (9505ms)
    ✓ Duplicate a visualization (6337ms)
    ✓ Replace a visualization (10005ms)
    ✓ Move to explorer to create new visualization (6384ms)
    1) Move to test panel and check visualization edit button

  Clean up all test data
    ✓ Delete visualizations from event analytics (10065ms)
    ✓ Deletes test panel (9995ms)


  20 passing (5m)
  1 failing

  1) Testing a panel
       Move to test panel and check visualization edit button:
     AssertionError: Timed out retrying: Expected to find content: 'Flight count by destination' within the element: [ <h5>, 1 more... ] but never did.
      at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/panels.spec.js:346:73)




  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        21                                                                               │
  │ Passing:      20                                                                               │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     4 minutes, 32 seconds                                                            │
  │ Spec Ran:     panels.spec.js                                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-observability/.cypress/s     (1280x720)
     creenshots/panels.spec.js/Testing a panel -- Move to test panel and check visual
     ization edit button (failed).png


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  26%
    Compression progress:  53%
    Compression progress:  80%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (39 seconds)
                          ervability/.cypress/videos/panels.spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_dashboard.spec.js                                               (3 of 5)


  Dump test data
    ✓ Indexes test data (3382ms)

  Testing dashboard table empty state
    ✓ Renders empty state (5008ms)

  Testing dashboard table
    ✓ Renders the dashboard table (7110ms)
    ✓ Adds the percentile filters (13505ms)
    ✓ Opens latency trend popover (17448ms)
    ✓ Redirects to traces table with filter (17274ms)

  Testing plots
    ✓ Renders service map (7867ms)
    ✓ Renders plots (4953ms)


  8 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        8                                                                                │
  │ Passing:      8                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 16 seconds                                                             │
  │ Spec Ran:     trace_analytics_dashboard.spec.js                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  92%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (11 seconds)
                          ervability/.cypress/videos/trace_analytics_dashboard.spec.j
                          s.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_services.spec.js                                                (4 of 5)


  Testing services table empty state
    ✓ Renders empty state (4779ms)

  Testing services table
    ✓ Renders the services table (5629ms)
    ✓ Searches correctly (6815ms)

  Testing service view empty state
    ✓ Renders service view empty state (4785ms)

  Testing service view
    ✓ Renders service view (5030ms)
    ✓ Renders spans data grid, flyout, filters (8932ms)


  6 passing (36s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     36 seconds                                                                       │
  │ Spec Ran:     trace_analytics_services.spec.js                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (5 seconds)
                          ervability/.cypress/videos/trace_analytics_services.spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_traces.spec.js                                                  (5 of 5)


  Testing traces table empty state
    ✓ Renders empty state (4892ms)

  Testing traces table
    ✓ Renders the traces table (5546ms)
    ✓ Searches correctly (6969ms)

  Testing trace view
    ✓ Renders the trace view (4981ms)
    ✓ Renders data grid, flyout and filters (8802ms)


  5 passing (31s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     31 seconds                                                                       │
  │ Spec Ran:     trace_analytics_traces.spec.js                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (4 seconds)
                          ervability/.cypress/videos/trace_analytics_traces.spec.js.m
                          p4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  notebooks.spec.js                        05:35       26       26        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  panels.spec.js                           04:32       21       20        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_dashboard.spec.js        01:16        8        8        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_services.spec.js         00:36        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_traces.spec.js           00:31        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  1 of 5 failed (20%)                      12:32       66       65        1        -        -

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Observability Dashboards x64 SEC ✅ (success after rerun)

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 (10060ms)

  Testing notebooks table
    ✓ Displays error toast for invalid notebook name (9145ms)
    ✓ Creates a notebook and redirects to the notebook (8349ms)
    ✓ Duplicates and renames a notebook (19842ms)
    ✓ Searches existing notebooks (10539ms)
    ✓ Deletes notebooks (15120ms)

  Test reporting integration if plugin installed
    ✓ Create in-context PDF report from notebook (7770ms)
    ✓ Create in-context PNG report from notebook (8305ms)
    ✓ Create on-demand report definition from context menu (11612ms)
    ✓ View reports homepage from context menu (9303ms)

  Testing paragraphs
    ✓ Goes into a notebook and creates paragraphs (17903ms)
    ✓ Renders markdown (6097ms)
    ✓ Shows output message (11139ms)
    ✓ Renders input only mode (9375ms)
    ✓ Renders output only mode (8337ms)
    ✓ Duplicates paragraphs (11346ms)
    ✓ Adds a visualization paragraph (17896ms)
    ✓ Adds a SQL query paragraph (20415ms)
    ✓ Adds a PPL query paragraph (20995ms)
    ✓ Clears outputs (11762ms)
    ✓ Runs all paragraphs (10531ms)
    ✓ Adds paragraph to top and bottom (17907ms)
    ✓ Moves paragraphs (10775ms)
    ✓ Duplicates and renames the notebook (25643ms)
    ✓ Deletes paragraphs (11023ms)
    ✓ Deletes notebook (14221ms)


  26 passing (6m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        26                                                                               │
  │ Passing:      26                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     5 minutes, 36 seconds                                                            │
  │ Spec Ran:     notebooks.spec.js                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  21%
    Compression progress:  43%
    Compression progress:  64%
    Compression progress:  86%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (49 seconds)
                          ervability/.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 (9021ms)

  Creating visualizations
    ✓ Create first visualization in event analytics (14140ms)
    ✓ Create second visualization in event analytics (13551ms)

  Testing panels table
    ✓ Displays error toast for invalid notebook name (7983ms)
    ✓ Creates a panel and redirects to the panel (8289ms)
    ✓ Duplicates and renames a panel (19691ms)
    ✓ Searches existing panel (10436ms)
    ✓ Deletes panels (15079ms)

  Testing a panel
    ✓ Move to test panel (10862ms)
    ✓ Change date filter of the panel (4815ms)
    ✓ Add existing visualization #1 (8319ms)
    ✓ Add existing visualization #2 (8353ms)
    ✓ Add ppl filter to panel (7377ms)
    ✓ Drag and drop a visualization (9536ms)
    ✓ Delete a visualization (9490ms)
    ✓ Duplicate a visualization (6374ms)
    ✓ Replace a visualization (9977ms)
    ✓ Move to explorer to create new visualization (6352ms)
    ✓ Move to test panel and check visualization edit button (17234ms)

  Clean up all test data
    ✓ Delete visualizations from event analytics (9969ms)
    ✓ Deletes test panel (9909ms)


  21 passing (4m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        21                                                                               │
  │ Passing:      21                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     3 minutes, 38 seconds                                                            │
  │ Spec Ran:     panels.spec.js                                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  33%
    Compression progress:  66%
    Compression progress:  100%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (31 seconds)
                          ervability/.cypress/videos/panels.spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_dashboard.spec.js                                               (3 of 5)


  Dump test data
    ✓ Indexes test data (4848ms)

  Testing dashboard table empty state
    ✓ Renders empty state (5589ms)

  Testing dashboard table
    ✓ Renders the dashboard table (6929ms)
    ✓ Adds the percentile filters (13291ms)
    ✓ Opens latency trend popover (17143ms)
    ✓ Redirects to traces table with filter (16706ms)

  Testing plots
    ✓ Renders service map (8021ms)
    ✓ Renders plots (5005ms)


  8 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        8                                                                                │
  │ Passing:      8                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 17 seconds                                                             │
  │ Spec Ran:     trace_analytics_dashboard.spec.js                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  90%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (11 seconds)
                          ervability/.cypress/videos/trace_analytics_dashboard.spec.j
                          s.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_services.spec.js                                                (4 of 5)


  Testing services table empty state
    ✓ Renders empty state (4780ms)

  Testing services table
    ✓ Renders the services table (5855ms)
    ✓ Searches correctly (6531ms)

  Testing service view empty state
    ✓ Renders service view empty state (4790ms)

  Testing service view
    ✓ Renders service view (4990ms)
    ✓ Renders spans data grid, flyout, filters (9044ms)


  6 passing (36s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     36 seconds                                                                       │
  │ Spec Ran:     trace_analytics_services.spec.js                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (5 seconds)
                          ervability/.cypress/videos/trace_analytics_services.spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_traces.spec.js                                                  (5 of 5)


  Testing traces table empty state
    ✓ Renders empty state (4773ms)

  Testing traces table
    ✓ Renders the traces table (5600ms)
    ✓ Searches correctly (7203ms)

  Testing trace view
    ✓ Renders the trace view (4970ms)
    ✓ Renders data grid, flyout and filters (8846ms)


  5 passing (32s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     31 seconds                                                                       │
  │ Spec Ran:     trace_analytics_traces.spec.js                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (4 seconds)
                          ervability/.cypress/videos/trace_analytics_traces.spec.js.m
                          p4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  notebooks.spec.js                        05:36       26       26        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  panels.spec.js                           03:38       21       21        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_dashboard.spec.js        01:17        8        8        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_services.spec.js         00:36        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_traces.spec.js           00:31        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        11:40       66       66        -        -        -

Done in 822.13s.

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Nov 22, 2021

Observability Dashboards x64 NOSEC ✅
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 (8457ms)

  Testing notebooks table
    ✓ Displays error toast for invalid notebook name (8885ms)
    ✓ Creates a notebook and redirects to the notebook (8385ms)
    ✓ Duplicates and renames a notebook (19652ms)
    ✓ Searches existing notebooks (10550ms)
    ✓ Deletes notebooks (15079ms)

  Test reporting integration if plugin installed
    ✓ Create in-context PDF report from notebook (7617ms)
    ✓ Create in-context PNG report from notebook (8091ms)
    ✓ Create on-demand report definition from context menu (11481ms)
    ✓ View reports homepage from context menu (9153ms)

  Testing paragraphs
    ✓ Goes into a notebook and creates paragraphs (17613ms)
    ✓ Renders markdown (5880ms)
    ✓ Shows output message (11090ms)
    ✓ Renders input only mode (9692ms)
    ✓ Renders output only mode (7395ms)
    ✓ Duplicates paragraphs (10773ms)
    ✓ Adds a visualization paragraph (17583ms)
    ✓ Adds a SQL query paragraph (19911ms)
    ✓ Adds a PPL query paragraph (19954ms)
    ✓ Clears outputs (11541ms)
    ✓ Runs all paragraphs (10525ms)
    ✓ Adds paragraph to top and bottom (18298ms)
    ✓ Moves paragraphs (11195ms)
    ✓ Duplicates and renames the notebook (25453ms)
    ✓ Deletes paragraphs (10865ms)
    ✓ Deletes notebook (13959ms)


  26 passing (5m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        26                                                                               │
  │ Passing:      26                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     5 minutes, 29 seconds                                                            │
  │ Spec Ran:     notebooks.spec.js                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  22%
    Compression progress:  44%
    Compression progress:  66%
    Compression progress:  88%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (48 seconds)
                          ervability/.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 (9279ms)

  Creating visualizations
    ✓ Create first visualization in event analytics (13940ms)
    ✓ Create second visualization in event analytics (13564ms)

  Testing panels table
    ✓ Displays error toast for invalid notebook name (7967ms)
    ✓ Creates a panel and redirects to the panel (8340ms)
    ✓ Duplicates and renames a panel (19661ms)
    ✓ Searches existing panel (10442ms)
    ✓ Deletes panels (14972ms)

  Testing a panel
    ✓ Move to test panel (10819ms)
    ✓ Change date filter of the panel (4811ms)
    ✓ Add existing visualization #1 (8325ms)
    ✓ Add existing visualization #2 (8316ms)
    ✓ Add ppl filter to panel (7495ms)
    ✓ Drag and drop a visualization (9520ms)
    ✓ Delete a visualization (9511ms)
    ✓ Duplicate a visualization (6330ms)
    ✓ Replace a visualization (10189ms)
    ✓ Move to explorer to create new visualization (6383ms)
    ✓ Move to test panel and check visualization edit button (17287ms)

  Clean up all test data
    ✓ Delete visualizations from event analytics (9944ms)
    ✓ Deletes test panel (9877ms)


  21 passing (4m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        21                                                                               │
  │ Passing:      21                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     3 minutes, 37 seconds                                                            │
  │ Spec Ran:     panels.spec.js                                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  33%
    Compression progress:  67%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (31 seconds)
                          ervability/.cypress/videos/panels.spec.js.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_dashboard.spec.js                                               (3 of 5)


  Dump test data
    ✓ Indexes test data (2660ms)

  Testing dashboard table empty state
    ✓ Renders empty state (4894ms)

  Testing dashboard table
    ✓ Renders the dashboard table (6999ms)
    ✓ Adds the percentile filters (12538ms)
    ✓ Opens latency trend popover (17093ms)
    ✓ Redirects to traces table with filter (16547ms)

  Testing plots
    ✓ Renders service map (7526ms)
    ✓ Renders plots (5691ms)


  8 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        8                                                                                │
  │ Passing:      8                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 14 seconds                                                             │
  │ Spec Ran:     trace_analytics_dashboard.spec.js                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  97%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs   (11 seconds)
                          ervability/.cypress/videos/trace_analytics_dashboard.spec.j
                          s.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_services.spec.js                                                (4 of 5)


  Testing services table empty state
    ✓ Renders empty state (4769ms)

  Testing services table
    ✓ Renders the services table (5358ms)
    ✓ Searches correctly (6637ms)

  Testing service view empty state
    ✓ Renders service view empty state (4771ms)

  Testing service view
    ✓ Renders service view (4699ms)
    ✓ Renders spans data grid, flyout, filters (8609ms)


  6 passing (35s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     35 seconds                                                                       │
  │ Spec Ran:     trace_analytics_services.spec.js                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (5 seconds)
                          ervability/.cypress/videos/trace_analytics_services.spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  trace_analytics_traces.spec.js                                                  (5 of 5)


  Testing traces table empty state
    ✓ Renders empty state (4805ms)

  Testing traces table
    ✓ Renders the traces table (5406ms)
    ✓ Searches correctly (7003ms)

  Testing trace view
    ✓ Renders the trace view (4942ms)
    ✓ Renders data grid, flyout and filters (8857ms)


  5 passing (31s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     31 seconds                                                                       │
  │ Spec Ran:     trace_analytics_traces.spec.js                                                   │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-obs    (4 seconds)
                          ervability/.cypress/videos/trace_analytics_traces.spec.js.m
                          p4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  notebooks.spec.js                        05:29       26       26        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  panels.spec.js                           03:37       21       21        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_dashboard.spec.js        01:14        8        8        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_services.spec.js         00:35        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  trace_analytics_traces.spec.js           00:31        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        11:27       66       66        -        -        -

Done in 806.59s.

@peterzhuamazon
Copy link
Member Author

SQL Dashboards x64 SEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (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
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db


  Dump test data
    ✓ Indexes test data for SQL and PPL (1081ms)

  Test PPL UI
    ✓ Confirm results are empty (4642ms)
    ✓ Test Run button (6053ms)
    ✓ Test Clear button (6944ms)
    ✓ Test full screen view (6197ms)

  Test SQL UI
    ✓ Confirm results are empty (2302ms)
    ✓ Test Run button and field search (5719ms)
    ✓ Test Translate button (6414ms)
    ✓ Test Clear button (3347ms)
    ✓ Test full screen view (3554ms)

  Test and verify SQL downloads
    ✓ Download and verify JSON (83ms)
    ✓ Download and verify JDBC (45ms)
    ✓ Download and verify CSV (50ms)
    ✓ Download and verify Text (38ms)

  Test table display
    ✓ Test GROUP BY (6242ms)
    ✓ Test GROUP BY with aliases and scalar function (6452ms)
    ✓ Test GROUP BY and HAVING (6705ms)
    ✓ Test ORDER BY (6561ms)
    ✓ Test JOIN (7763ms)
    ✓ Test nested fields display (7335ms)


  20 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        20                                                                               │
  │ Passing:      20                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 27 seconds                                                             │
  │ Spec Ran:     ui.spec.js                                                                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  77%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/workbench/.cyp   (14 seconds)
                          ress/videos/ui.spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               01:27       20       20        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        01:27       20       20        -        -        -

@peterzhuamazon
Copy link
Member Author

SQL Dashboards x64 NOSEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (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
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db


  Dump test data
    ✓ Indexes test data for SQL and PPL (1636ms)

  Test PPL UI
    ✓ Confirm results are empty (5077ms)
    ✓ Test Run button (6046ms)
    ✓ Test Clear button (6975ms)
    ✓ Test full screen view (6156ms)

  Test SQL UI
    ✓ Confirm results are empty (2222ms)
    ✓ Test Run button and field search (5764ms)
    ✓ Test Translate button (6396ms)
    ✓ Test Clear button (3318ms)
    ✓ Test full screen view (3525ms)

  Test and verify SQL downloads
    ✓ Download and verify JSON (101ms)
    ✓ Download and verify JDBC (72ms)
    ✓ Download and verify CSV (90ms)
    ✓ Download and verify Text (73ms)

  Test table display
    ✓ Test GROUP BY (6209ms)
    ✓ Test GROUP BY with aliases and scalar function (6381ms)
    ✓ Test GROUP BY and HAVING (6727ms)
    ✓ Test ORDER BY (6518ms)
    ✓ Test JOIN (7673ms)
    ✓ Test nested fields display (7301ms)


  20 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        20                                                                               │
  │ Passing:      20                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 28 seconds                                                             │
  │ Spec Ran:     ui.spec.js                                                                       │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  77%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/workbench/.cyp   (14 seconds)
                          ress/videos/ui.spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               01:28       20       20        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        01:28       20       20        -        -        -

@peterzhuamazon
Copy link
Member Author

Reports Dashboards x64 SEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (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

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


  Adding sample data
    ✓ Adds sample data (16648ms)

  Cypress
    ✓ Visits Reporting homepage (611ms)
    ✓ Visit Create page (13440ms)
    ✓ Create a new on-demand report definition (27976ms)
    ✓ Create a new scheduled report definition (28425ms)


  5 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 29 seconds                                                             │
  │ Spec Ran:     01-create.spec.ts                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-rep   (13 seconds)
                          orts/.cypress/videos/01-create.spec.ts.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  02-edit.spec.ts                                                                 (2 of 4)


  Cypress
    ✓ Visit edit page, update name and description (27999ms)
    ✓ Visit edit page, change report trigger (26802ms)
    ✓ Visit edit page, change report trigger back (26767ms)


  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/OpenSearch-Dashboards/plugins/dashboards-rep   (11 seconds)
                          orts/.cypress/videos/02-edit.spec.ts.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  03-details.spec.ts                                                              (3 of 4)


  Cypress
    ✓ Visit report definition details page (14319ms)
    ✓ Visit report details page (12811ms)


  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/OpenSearch-Dashboards/plugins/dashboards-rep    (4 seconds)
                          orts/.cypress/videos/03-details.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  04-download.spec.ts                                                             (4 of 4)


  Cypress
    ✓ Download from reporting homepage (12928ms)
    ✓ Download pdf from in-context menu (5951ms)
    ✓ Download png from in-context menu (6332ms)
    ✓ Download csv from saved search in-context menu (11330ms)
    ✓ Download from Report definition details page (10548ms)


  5 passing (48s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     48 seconds                                                                       │
  │ Spec Ran:     04-download.spec.ts                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-rep    (9 seconds)
                          orts/.cypress/videos/04-download.spec.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  01-create.spec.ts                        01:29        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  02-edit.spec.ts                          01:22        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  03-details.spec.ts                       00:27        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  04-download.spec.ts                      00:48        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:08       15       15        -        -        -

@peterzhuamazon
Copy link
Member Author

Reports Dashboards x64 NOSEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (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

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


  Adding sample data
    ✓ Adds sample data (16631ms)

  Cypress
    ✓ Visits Reporting homepage (485ms)
    ✓ Visit Create page (13155ms)
    ✓ Create a new on-demand report definition (27930ms)
    ✓ Create a new scheduled report definition (28428ms)


  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/OpenSearch-Dashboards/plugins/dashboards-rep   (12 seconds)
                          orts/.cypress/videos/01-create.spec.ts.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  02-edit.spec.ts                                                                 (2 of 4)


  Cypress
    ✓ Visit edit page, update name and description (28015ms)
    ✓ Visit edit page, change report trigger (26773ms)
    ✓ Visit edit page, change report trigger back (26792ms)


  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/OpenSearch-Dashboards/plugins/dashboards-rep   (11 seconds)
                          orts/.cypress/videos/02-edit.spec.ts.mp4

    Compression progress:  100%

────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  03-details.spec.ts                                                              (3 of 4)


  Cypress
    ✓ Visit report definition details page (14320ms)
    ✓ Visit report details page (12805ms)


  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/OpenSearch-Dashboards/plugins/dashboards-rep    (4 seconds)
                          orts/.cypress/videos/03-details.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  04-download.spec.ts                                                             (4 of 4)


  Cypress
    ✓ Download from reporting homepage (12918ms)
    ✓ Download pdf from in-context menu (5850ms)
    ✓ Download png from in-context menu (6368ms)
    ✓ Download csv from saved search in-context menu (11313ms)
    ✓ Download from Report definition details page (10562ms)


  5 passing (48s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     48 seconds                                                                       │
  │ Spec Ran:     04-download.spec.ts                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-rep    (9 seconds)
                          orts/.cypress/videos/04-download.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:48        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:07       15       15        -        -        -

@peterzhuamazon
Copy link
Member Author

Security Dashboards x64 SEC ✅

yarn run v1.22.15
$ node ./test/run_jest_tests.js --config ./test/jest.config.server.js
 PASS  server/utils/next_url.test.ts
 PASS  test/jest_integration/security_entity_api.test.ts (36.207 s)
  ● Console

    console.log
      Starting OpenSearchDashboards server..

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/security_entity_api.test.ts:58:13)

    console.log
      Started OpenSearchDashboards server

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/security_entity_api.test.ts:61:13)

(node:1492) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:1492) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:1492) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:1492) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 close listeners added. Use emitter.setMaxListeners() to increase limit
(node:1492) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 finish listeners added. Use emitter.setMaxListeners() to increase limit
 PASS  test/jest_integration/basic_auth.test.ts
  ● Console

    console.log
      Starting OpenSearchDashboards server..

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/basic_auth.test.ts:88:13)

    console.log
      Started OpenSearchDashboards server

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/basic_auth.test.ts:91:13)

 PASS  test/jest_integration/multi_tenancy.test.ts (5.639 s)
  ● Console

    console.log
      Starting OpenSearchDashboards server..

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/multi_tenancy.test.ts:57:13)

    console.log
      Started OpenSearchDashboards server

      at Object.<anonymous> (plugins/security-dashboards-plugin/test/jest_integration/multi_tenancy.test.ts:60:13)

 PASS  server/auth/auth_handler_factory.test.ts
 PASS  server/auth/types/openid/helper.test.ts

Test Suites: 6 passed, 6 total
Tests:       45 passed, 45 total
Snapshots:   0 total
Time:        49.712 s
Ran all test suites.
Done in 52.60s.

@peterzhuamazon
Copy link
Member Author


@peterzhuamazon
Copy link
Member Author

Thanks @joshuali925 for providing a compiled 5.6.0 version of Cypress on arm64.

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards arm64 SEC ✅

It looks like this is your first time using Cypress: 5.6.0

  ✔  Verified Cypress! /home/ec2-user/.cache/Cypress/5.6.0/Cypress

Opening Cypress...

====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    5.6.0                                                                              │
  │ 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


  Alerts
    can be in 'Active' state
      ✓ after the monitor starts running (66100ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2413ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64070ms)
    can be in 'Error' state
      ✓ by using a wrong destination (1986ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2754ms)


  5 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 19 seconds                                                            │
  │ Spec Ran:     alert_spec.js                                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  67%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (15 seconds)
                          oards-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 (26012ms)
      ✓ by visual editor (20966ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1110ms)
      when defined by visual editor
        ✓ by adding trigger (12608ms)


  4 passing (1m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 7 seconds                                                              │
  │ Spec Ran:     bucket_level_monitor_spec.js                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (8 seconds)
                          oards-plugin/cypress/videos/bucket_level_monitor_spec.js.mp
                          4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  destination_spec.js                                                             (3 of 4)


  Destinations
    can be created
      ✓ with a custom webhook (6802ms)
    can be updated
      ✓ by changing the name (3979ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2113ms)
    can be searched
      ✓ by name (2934ms)


  4 passing (17s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     17 seconds                                                                       │
  │ Spec Ran:     destination_spec.js                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (2 seconds)
                          oards-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 (9198ms)
    can be updated
      ✓ by changing the name (4086ms)
    can be deleted
      ✓ from "Actions" menu (1726ms)
    can be searched
      ✓ by name (5040ms)


  4 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     21 seconds                                                                       │
  │ Spec Ran:     query_level_monitor_spec.js                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (3 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  alert_spec.js                            02:19        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  bucket_level_monitor_spec.js             01:07        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:17        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:21        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:05       17       17        -        -        -

[ec2-user@ip-172-31-24-166 alerting-dashboards-plugin]$

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards arm64 NOSEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    5.6.0                                                                              │
  │ 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


  Alerts
    can be in 'Active' state
      ✓ after the monitor starts running (65644ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2275ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (63778ms)
    can be in 'Error' state
      ✓ by using a wrong destination (1778ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2511ms)


  5 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 17 seconds                                                            │
  │ Spec Ran:     alert_spec.js                                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  69%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (15 seconds)
                          oards-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 (20338ms)
      ✓ by visual editor (17023ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1143ms)
      when defined by visual editor
        ✓ by adding trigger (11715ms)


  4 passing (56s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     56 seconds                                                                       │
  │ Spec Ran:     bucket_level_monitor_spec.js                                                     │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (7 seconds)
                          oards-plugin/cypress/videos/bucket_level_monitor_spec.js.mp
                          4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  destination_spec.js                                                             (3 of 4)


  Destinations
    can be created
      ✓ with a custom webhook (5225ms)
    can be updated
      ✓ by changing the name (3949ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2195ms)
    can be searched
      ✓ by name (3036ms)


  4 passing (16s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     15 seconds                                                                       │
  │ Spec Ran:     destination_spec.js                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (2 seconds)
                          oards-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 (8142ms)
    can be updated
      ✓ by changing the name (4036ms)
    can be deleted
      ✓ from "Actions" menu (1804ms)
    can be searched
      ✓ by name (4847ms)


  4 passing (21s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     20 seconds                                                                       │
  │ Spec Ran:     query_level_monitor_spec.js                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb    (2 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  alert_spec.js                            02:17        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  bucket_level_monitor_spec.js             00:56        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:15        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:20        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:50       17       17        -        -        -


@peterzhuamazon
Copy link
Member Author

(running specifically from x64 to arm64, if running from arm64 on arm64 it will not pass with this error)

  1) AD Dashboard
       Filter by detector:
     AssertionError: Timed out retrying after 90000ms: Expected to find content: 'stopped-detector' but never did.
      at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/ad/dashboard/ad_dashboard.spec.ts:154:41)

  2) AD Dashboard
       Filter by detector state:
     AssertionError: Timed out retrying after 90000ms: Expected to find content: 'running-detector' but never did.
      at Context.eval (http://localhost:5601/__cypress/tests?p=.cypress/integration/ad/dashboard/ad_dashboard.spec.ts:169:41)
AD Dashboards arm64 SEC ✅


====================================================================================================

  (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 (4262ms)
    ✓ Empty dashboard - empty detector index (1393ms)
    ✓ AD dashboard - single running detector (1084ms)
    ✓ AD dashboard - redirect to create detector (1015ms)
    ✓ Filter by detector (1873ms)
    ✓ Filter by detector state (1337ms)


  6 passing (11s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     11 seconds                                                                       │
  │ Spec Ran:     ad/dashboard/ad_dashboard.spec.ts                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/dashboard/ad_dashb
                          oard.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/detectorList/detector_list.spec.ts                                           (2 of 3)


  Detector list
    ✓ Empty detectors - no detector index (4134ms)
    ✓ Empty detectors - empty detector index (1525ms)
    ✓ One detector - single stopped detector index (1198ms)
    ✓ Multiple detectors - multiple detectors index (1991ms)
    ✓ Redirect to create detector (1101ms)
    ✓ Start single detector (1437ms)
    ✓ Stop single detector (1463ms)
    - Delete single detector
    ✓ Filter by detector search (1922ms)
    ✓ Filter by detector state (1413ms)


  9 passing (16s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        10                                                                               │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     16 seconds                                                                       │
  │ Spec Ran:     ad/detectorList/detector_list.spec.ts                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/detectorList/detec
                          tor_list.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/workflow/create_detector.spec.ts                                             (3 of 3)


  Create detector
    - Create detector - from dashboard


  0 passing (24ms)
  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/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (0 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/workflow/create_de
                          tector.spec.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ad/dashboard/ad_dashboard.spec.ts        00:11        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/detectorList/detector_list.spec.      00:16       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts       20ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:27       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Nov 23, 2021

Related to above, same issue with this line echo out:


The `experimentalNetworkStubbing` configuration option was removed in Cypress version `6.0.0`.
It is no longer necessary for using `cy.intercept()` (formerly `cy.route2()`).

You can safely remove this option from your config.

AD Dashboards arm64 NOSEC ✅

====================================================================================================

  (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 (4048ms)
    ✓ Empty dashboard - empty detector index (1448ms)
    ✓ AD dashboard - single running detector (983ms)
    ✓ AD dashboard - redirect to create detector (1009ms)
    ✓ Filter by detector (1646ms)
    ✓ Filter by detector state (1222ms)


  6 passing (10s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     10 seconds                                                                       │
  │ Spec Ran:     ad/dashboard/ad_dashboard.spec.ts                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/dashboard/ad_dashb
                          oard.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/detectorList/detector_list.spec.ts                                           (2 of 3)


  Detector list
    ✓ Empty detectors - no detector index (3915ms)
    ✓ Empty detectors - empty detector index (1308ms)
    ✓ One detector - single stopped detector index (1290ms)
    ✓ Multiple detectors - multiple detectors index (2195ms)
    ✓ Redirect to create detector (985ms)
    ✓ Start single detector (1341ms)
    ✓ Stop single detector (1394ms)
    - Delete single detector
    ✓ Filter by detector search (1898ms)
    ✓ Filter by detector state (1272ms)


  9 passing (16s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        10                                                                               │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     15 seconds                                                                       │
  │ Spec Ran:     ad/detectorList/detector_list.spec.ts                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (2 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/detectorList/detec
                          tor_list.spec.ts.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  ad/workflow/create_detector.spec.ts                                             (3 of 3)


  Create detector
    - Create detector - from dashboard


  0 passing (16ms)
  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/ec2-user/OpenSearch-Dashboards/plugins/anomaly-detect    (0 seconds)
                          ion-dashboards-plugin/.cypress/videos/ad/workflow/create_de
                          tector.spec.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ad/dashboard/ad_dashboard.spec.ts        00:10        6        6        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/detectorList/detector_list.spec.      00:15       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts       15ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:26       17       15        -        2        -



</details>

@peterzhuamazon
Copy link
Member Author

IM Dashboards arm64 SEC ✅


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    5.6.0                                                                              │
  │ 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


  Indices
    can be searched
      ✓ successfully (8469ms)
    can show data stream indices
      ✓ successfully (6320ms)
    can have policies applied
      ✓ successfully (7125ms)


  3 passing (27s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     27 seconds                                                                       │
  │ Spec Ran:     indices_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (3 seconds)
                          nt-dashboards-plugin/cypress/videos/indices_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  managed_indices_spec.js                                                         (2 of 5)


  Managed indices
    can have policies removed
      ✓ successfully (12012ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (5296ms)
    can change policies
      ✓ successfully (14519ms)
    can manage data stream indices
      ✓ successfully (6755ms)


  4 passing (43s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     42 seconds                                                                       │
  │ Spec Ran:     managed_indices_spec.js                                                          │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (5 seconds)
                          nt-dashboards-plugin/cypress/videos/managed_indices_spec.js
                          .mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  policies_spec.js                                                                (3 of 5)


  Policies
    can be created
      ✓ successfully (8384ms)
    can be edited
      ✓ successfully (6316ms)
    can be deleted
      ✓ successfully (2289ms)
    can be searched
      ✓ successfully (3798ms)
    can be viewed
      ✓ successfully (1606ms)


  5 passing (23s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     23 seconds                                                                       │
  │ Spec Ran:     policies_spec.js                                                                 │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (3 seconds)
                          nt-dashboards-plugin/cypress/videos/policies_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  rollups_spec.js                                                                 (4 of 5)


  Rollups
    can be created
      ✓ successfully (17752ms)
    can be edited
      ✓ successfully (8575ms)
    can be deleted
      ✓ successfully (8382ms)
    can be enabled and disabled
      ✓ successfully (7151ms)


  4 passing (43s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     42 seconds                                                                       │
  │ Spec Ran:     rollups_spec.js                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (5 seconds)
                          nt-dashboards-plugin/cypress/videos/rollups_spec.js.mp4


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  transforms_spec.js                                                              (5 of 5)


  Transforms
    can be created
      ✓ successfully (13779ms)
    can be edited
      ✓ successfully (3844ms)
    can be deleted
      ✓ successfully (2918ms)
    can be enabled and disabled
      ✓ successfully (5124ms)


  4 passing (30s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     30 seconds                                                                       │
  │ Spec Ran:     transforms_spec.js                                                               │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/index-manageme    (3 seconds)
                          nt-dashboards-plugin/cypress/videos/transforms_spec.js.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:27        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:42        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:23        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:42        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  transforms_spec.js                       00:30        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:46       21       20        -        1        -

This was referenced Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant