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

Integration tests for OpenSearch and Dashboards bundles #667

Closed
Tracked by #564
peterzhuamazon opened this issue Oct 1, 2021 · 24 comments
Closed
Tracked by #564

Integration tests for OpenSearch and Dashboards bundles #667

peterzhuamazon opened this issue Oct 1, 2021 · 24 comments

Comments

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Oct 1, 2021

Integration tests for OpenSearch and Dashboards bundles

@peterzhuamazon
Copy link
Member Author

All integtest results from Jenkins will be located in Jenkins.
This is the place to host dashboards tests logs.

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 4, 2021

IM Dashboards x64 SEC: ✅

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

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

Opening Cypress...

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

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (headless)                                                             │
  │ Specs:      4 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_spec. │
  │             js)                                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


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

  Running:  indices_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


  Indices
    can be searched
      ✓ successfully (8915ms)
    can show data stream indices
      ✓ successfully (7221ms)
    can have policies applied
      ✓ successfully (7583ms)


  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    (4 seconds)
                          nt-dashboards-plugin/cypress/videos/indices_spec.js.mp4


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

  Running:  managed_indices_spec.js                                                         (2 of 4)


  Managed indices
    can have policies removed
      ✓ successfully (12830ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (4977ms)
    can change policies
      ✓ successfully (13960ms)
    can manage data stream indices
      ✓ successfully (6672ms)


  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    (6 seconds)
                          nt-dashboards-plugin/cypress/videos/managed_indices_spec.js
                          .mp4


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

  Running:  policies_spec.js                                                                (3 of 4)


  Policies
    can be created
      ✓ successfully (9089ms)
    can be edited
      ✓ successfully (6311ms)
    can be deleted
      ✓ successfully (2298ms)
    can be searched
      ✓ successfully (3424ms)
    can be viewed
      ✓ successfully (1463ms)


  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    (3 seconds)
                          nt-dashboards-plugin/cypress/videos/policies_spec.js.mp4


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

  Running:  rollups_spec.js                                                                 (4 of 4)


  Rollups
    can be created
      ✓ successfully (15834ms)
    can be edited
      ✓ successfully (7839ms)
    can be deleted
      ✓ successfully (7349ms)
    can be enabled and disabled
      ✓ successfully (6287ms)


  4 passing (38s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     38 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


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

  (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:38        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:11       17       16        -        1        -


@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 4, 2021

IM Dashboards x64 NOSEC: ✅



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

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (headless)                                                             │
  │ Specs:      4 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_spec. │
  │             js)                                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


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

  Running:  indices_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


  Indices
    can be searched
      ✓ successfully (7835ms)
    can show data stream indices
      ✓ successfully (5549ms)
    can have policies applied
      ✓ successfully (6513ms)


  3 passing (23s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     22 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 4)


  Managed indices
    can have policies removed
      ✓ successfully (12318ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (4787ms)
    can change policies
      ✓ successfully (12917ms)
    can manage data stream indices
      ✓ successfully (6667ms)


  4 passing (41s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     40 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 4)


  Policies
    can be created
      ✓ successfully (8574ms)
    can be edited
      ✓ successfully (5352ms)
    can be deleted
      ✓ successfully (2292ms)
    can be searched
      ✓ successfully (3445ms)
    can be viewed
      ✓ successfully (1373ms)


  5 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     21 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 4)


  Rollups
    can be created
      ✓ successfully (16377ms)
    can be edited
      ✓ successfully (7931ms)
    can be deleted
      ✓ successfully (6402ms)
    can be enabled and disabled
      ✓ successfully (5817ms)


  4 passing (38s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     37 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


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

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:22        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:40        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:21        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:37        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:03       17       16        -        1        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 4, 2021

Alerting Dashboards x64 SEC: ✅



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

  (Run Starting)

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


  Alerts
    can be in 'Active' state
      ✓ after the monitor starts running (66594ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2331ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64206ms)
    can be in 'Error' state
      ✓ by using a wrong destination (2076ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2631ms)


  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:  54%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (18 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 (24585ms)
      ✓ by visual editor (15921ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1578ms)
      when defined by visual editor
        ✓ by adding trigger (10254ms)


  4 passing (57s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     57 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 (6837ms)
    can be updated
      ✓ by changing the name (3955ms)
    can be deleted
      ✓ by clicking the button under "Actions" (1946ms)
    can be searched
      ✓ by name (2720ms)


  4 passing (17s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     16 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 (9780ms)
    can be updated
      ✓ by changing the name (4063ms)
    can be deleted
      ✓ from "Actions" menu (2003ms)
    can be searched
      ✓ by name (4709ms)


  4 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     22 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             00:57        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:16        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:22        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:55       17       17        -        -        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 4, 2021

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


  5 passing (2m)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  55%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (18 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 (21416ms)
      ✓ by visual editor (16983ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (1554ms)
      when defined by visual editor
        ✓ by adding trigger (11958ms)


  4 passing (58s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     58 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 (5848ms)
    can be updated
      ✓ by changing the name (4021ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2275ms)
    can be searched
      ✓ by name (2831ms)


  4 passing (16s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     16 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 (8463ms)
    can be updated
      ✓ by changing the name (3036ms)
    can be deleted
      ✓ from "Actions" menu (2139ms)
    can be searched
      ✓ by name (4949ms)


  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    (3 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


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

  (Run Finished)


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

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 4, 2021

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

  Test PPL UI
    ✓ Confirm results are empty (4423ms)
    ✓ Test Run button (5837ms)
    ✓ Test Clear button (6925ms)
    ✓ Test full screen view (6111ms)

  Test SQL UI
    ✓ Confirm results are empty (2202ms)
    ✓ Test Run button and field search (5669ms)
    ✓ Test Translate button (6332ms)
    ✓ Test Clear button (3318ms)
    ✓ Test full screen view (3523ms)

  Test and verify SQL downloads
    ✓ Download and verify JSON (91ms)
    ✓ Download and verify JDBC (54ms)
    ✓ Download and verify CSV (60ms)
    ✓ Download and verify Text (69ms)

  Test table display
    ✓ Test GROUP BY (6149ms)
    ✓ Test GROUP BY with aliases and scalar function (6315ms)
    ✓ Test GROUP BY and HAVING (6591ms)
    ✓ Test ORDER BY (6399ms)
    ✓ Test JOIN (7573ms)
    ✓ Test nested fields display (7307ms)


  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:  80%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/workbench/.cyp   (13 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

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 (4103ms)
    ✓ Empty dashboard - empty detector index (1467ms)
    ✓ AD dashboard - single running detector (1049ms)
    ✓ AD dashboard - redirect to create detector (1076ms)
    ✓ Filter by detector (1826ms)
    ✓ Filter by detector state (1370ms)


  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 (4113ms)
    ✓ Empty detectors - empty detector index (1389ms)
    ✓ One detector - single stopped detector index (1271ms)
    ✓ Multiple detectors - multiple detectors index (2273ms)
    ✓ Redirect to create detector (1115ms)
    ✓ Start single detector (1373ms)
    ✓ Stop single detector (1474ms)
    - Delete single detector
    ✓ Filter by detector search (1928ms)
    ✓ Filter by detector state (1345ms)


  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 (31ms)
  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       19ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:27       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 (5134ms)
    ✓ Empty dashboard - empty detector index (1631ms)
    ✓ AD dashboard - single running detector (845ms)
    ✓ AD dashboard - redirect to create detector (1025ms)
    ✓ Filter by detector (1806ms)
    ✓ Filter by detector state (1292ms)


  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 (3735ms)
    ✓ Empty detectors - empty detector index (1317ms)
    ✓ One detector - single stopped detector index (1103ms)
    ✓ Multiple detectors - multiple detectors index (1781ms)
    ✓ Redirect to create detector (1316ms)
    ✓ Start single detector (1289ms)
    ✓ Stop single detector (1380ms)
    - Delete single detector
    ✓ Filter by detector search (1802ms)
    ✓ Filter by detector state (1313ms)


  9 passing (15s)
  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 (14ms)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        1                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     0 seconds                                                                        │
  │ Spec Ran:     ad/workflow/create_detector.spec.ts                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/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       14ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:27       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

Notebooks 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


  Adding sample data and visualization
    ✓ Adds sample flights data for visualization paragraph (6441ms)

  Testing notebooks table
    ✓ Displays error toast for invalid notebook name (5517ms)
    ✓ Creates a notebook and redirects to the notebook (5887ms)
    ✓ Duplicates and renames a notebook (13745ms)
    ✓ Searches existing notebooks (7460ms)
    ✓ Deletes notebooks (10654ms)

  Test reporting integration if plugin installed
    ✓ Create in-context PDF report from notebook (5365ms)
    ✓ Create in-context PNG report from notebook (6358ms)
    ✓ Create on-demand report definition from context menu (9395ms)
    ✓ View reports homepage from context menu (6510ms)

  Testing paragraphs
    ✓ Goes into a notebook and creates paragraphs (13685ms)
    ✓ Renders markdown (4316ms)
    ✓ Shows output message (8275ms)
    ✓ Renders input only mode (6584ms)
    ✓ Renders output only mode (5256ms)
    ✓ Duplicates paragraphs (7690ms)
    ✓ Adds a visualization paragraph (12670ms)
    ✓ Adds a SQL query paragraph (14246ms)
    ✓ Adds a PPL query paragraph (15643ms)
    ✓ Clears outputs (11223ms)
    ✓ Runs all paragraphs (6564ms)
    ✓ Adds paragraph to top and bottom (18597ms)
    ✓ Moves paragraphs (8543ms)
    ✓ Duplicates and renames the notebook (18074ms)
    ✓ Deletes paragraphs (12299ms)
    ✓ Deletes notebook (9917ms)


  26 passing (4m)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  28%
    Compression progress:  57%
    Compression progress:  86%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-not   (36 seconds)
                          ebooks/.cypress/videos/ui.spec.js.mp4


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

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               04:12       26       26        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:12       26       26        -        -        -

@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


  Adding sample data
    ✓ Adds sample data (28750ms)

  Cypress
    ✓ Visits Reporting homepage (136ms)
    ✓ Visit Create page (13274ms)
    ✓ Create a new on-demand report definition (27638ms)
    ✓ Create a new scheduled report definition (28221ms)


  5 passing (2m)


  (Results)

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


  (Video)

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


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

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


  Cypress
    ✓ Visit edit page, update name and description (15066ms)
    ✓ Visit edit page, change report source and trigger (14243ms)
    ✓ Visit edit page, change report source back (14177ms)


  3 passing (44s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     44 seconds                                                                       │
  │ Spec Ran:     02-edit.spec.ts                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

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


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

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


  Cypress
    ✓ Visit report definition details page (14311ms)
    ✓ Visit report details page (12783ms)


  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 (12907ms)
    ✓ Download pdf from in-context menu (5792ms)
    ✓ Download png from in-context menu (5773ms)
    ✓ Download csv from saved search in-context menu (11176ms)
    ✓ Download from Report definition details page (10794ms)


  5 passing (47s)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
  -  Finished processing: /home/ec2-user/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:39        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  02-edit.spec.ts                          00:44        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  03-details.spec.ts                       00:27        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  04-download.spec.ts                      00:47        5        5        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:38       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 (34.387 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:7514) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:7514) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:7514) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:7514) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 close listeners added. Use emitter.setMaxListeners() to increase limit
(node:7514) 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.192 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:        47.375 s
Ran all test suites.
Done in 50.56s.

@peterzhuamazon
Copy link
Member Author


@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 5, 2021

IM Dashboards arm64 SEC: ✅



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

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (headless)                                                             │
  │ Specs:      4 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_spec. │
  │             js)                                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


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

  Running:  indices_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


  Indices
    can be searched
      ✓ successfully (22301ms)
    can show data stream indices
      ✓ successfully (7837ms)
    can have policies applied
      ✓ successfully (9660ms)


  3 passing (46s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     45 seconds                                                                       │
  │ Spec Ran:     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/indices_spec.js.mp4


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

  Running:  managed_indices_spec.js                                                         (2 of 4)


  Managed indices
    can have policies removed
      ✓ successfully (12863ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (5506ms)
    can change policies
      ✓ successfully (14316ms)
    can manage data stream indices
      ✓ successfully (6426ms)


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


  Policies
    can be created
      ✓ successfully (8955ms)
    can be edited
      ✓ successfully (5345ms)
    can be deleted
      ✓ successfully (2262ms)
    can be searched
      ✓ successfully (4143ms)
    can be viewed
      ✓ successfully (1489ms)


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


  Rollups
    can be created
      ✓ successfully (16907ms)
    can be edited
      ✓ successfully (8109ms)
    can be deleted
      ✓ successfully (7380ms)
    can be enabled and disabled
      ✓ successfully (6210ms)


  4 passing (40s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     39 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


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

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:45        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:43        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:23        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:39        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:31       17       16        -        1        -

@peterzhuamazon
Copy link
Member Author

IM Dashboards arm64 NOSEC: ✅



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

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    6.9.1                                                                              │
  │ Browser:    Electron 87 (headless)                                                             │
  │ Specs:      4 found (indices_spec.js, managed_indices_spec.js, policies_spec.js, rollups_spec. │
  │             js)                                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


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

  Running:  indices_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


  Indices
    can be searched
      ✓ successfully (8735ms)
    can show data stream indices
      ✓ successfully (5539ms)
    can have policies applied
      ✓ successfully (5921ms)


  3 passing (24s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     24 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 4)


  Managed indices
    can have policies removed
      ✓ successfully (12087ms)
    can have policies retried
      - successfully
    can edit rollover_alias
      ✓ successfully (5019ms)
    can change policies
      ✓ successfully (13087ms)
    can manage data stream indices
      ✓ successfully (6245ms)


  4 passing (41s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     40 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 4)


  Policies
    can be created
      ✓ successfully (8273ms)
    can be edited
      ✓ successfully (5372ms)
    can be deleted
      ✓ successfully (2258ms)
    can be searched
      ✓ successfully (3603ms)
    can be viewed
      ✓ successfully (1293ms)


  5 passing (22s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     21 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 4)


  Rollups
    can be created
      ✓ successfully (16449ms)
    can be edited
      ✓ successfully (7186ms)
    can be deleted
      ✓ successfully (7338ms)
    can be enabled and disabled
      ✓ successfully (6080ms)


  4 passing (38s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     37 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


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

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  indices_spec.js                          00:24        3        3        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  managed_indices_spec.js                  00:40        5        4        -        1        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  policies_spec.js                         00:21        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  rollups_spec.js                          00:37        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        02:04       17       16        -        1        -

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards arm64 SEC: ✅



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

  (Run Starting)

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


  Alerts
    can be in 'Active' state
      ✓ after the monitor starts running (66459ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2359ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64205ms)
    can be in 'Error' state
      ✓ by using a wrong destination (2028ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2597ms)


  5 passing (2m)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  54%
  -  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 (22771ms)
      ✓ by visual editor (14996ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (994ms)
      when defined by visual editor
        ✓ by adding trigger (8774ms)


  4 passing (54s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     53 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 (6801ms)
    can be updated
      ✓ by changing the name (3871ms)
    can be deleted
      ✓ by clicking the button under "Actions" (1890ms)
    can be searched
      ✓ by name (2701ms)


  4 passing (17s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     16 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 (9021ms)
    can be updated
      ✓ by changing the name (3945ms)
    can be deleted
      ✓ from "Actions" menu (2013ms)
    can be searched
      ✓ by name (4532ms)


  4 passing (21s)


  (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:20        5        5        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  bucket_level_monitor_spec.js             00:53        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  destination_spec.js                      00:16        4        4        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  query_level_monitor_spec.js              00:21        4        4        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:51       17       17        -        -        -

@peterzhuamazon
Copy link
Member Author

Alerting Dashboards arm64 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 (66111ms)
    can be in 'Acknowledged' state
      ✓ by clicking the button in Dashboard (2175ms)
    can be in 'Completed' state
      ✓ when the trigger condition is not met after met once (64051ms)
    can be in 'Error' state
      ✓ by using a wrong destination (1804ms)
    can be in 'Deleted' state
      ✓ by deleting the monitor (2334ms)


  5 passing (2m)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  55%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/alerting-dashb   (18 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 (21609ms)
      ✓ by visual editor (17820ms)
    can be updated
      when defined by extraction query
        ✓ by adding trigger (886ms)
      when defined by visual editor
        ✓ by adding trigger (9851ms)


  4 passing (56s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        4                                                                                │
  │ Passing:      4                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     55 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 (5243ms)
    can be updated
      ✓ by changing the name (4333ms)
    can be deleted
      ✓ by clicking the button under "Actions" (2227ms)
    can be searched
      ✓ by name (2517ms)


  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 (7768ms)
    can be updated
      ✓ by changing the name (3887ms)
    can be deleted
      ✓ from "Actions" menu (2194ms)
    can be searched
      ✓ by name (4442ms)


  4 passing (20s)


  (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    (3 seconds)
                          oards-plugin/cypress/videos/query_level_monitor_spec.js.mp4


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

  (Run Finished)


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

@peterzhuamazon
Copy link
Member Author

SQL Dashboards arm64 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 (1048ms)

  Test PPL UI
    ✓ Confirm results are empty (4167ms)
    ✓ Test Run button (6048ms)
    ✓ Test Clear button (6884ms)
    ✓ Test full screen view (6057ms)

  Test SQL UI
    ✓ Confirm results are empty (2211ms)
    ✓ Test Run button and field search (5623ms)
    ✓ Test Translate button (6347ms)
    ✓ Test Clear button (3342ms)
    ✓ Test full screen view (3498ms)

  Test and verify SQL downloads
    ✓ Download and verify JSON (80ms)
    ✓ Download and verify JDBC (43ms)
    ✓ Download and verify CSV (40ms)
    ✓ Download and verify Text

  Test table display
    ✓ Test GROUP BY (6170ms)
    ✓ Test GROUP BY with aliases and scalar function (6302ms)
    ✓ Test GROUP BY and HAVING (6595ms)
    ✓ Test ORDER BY (6436ms)
    ✓ Test JOIN (7479ms)
    ✓ Test nested fields display (7292ms)


  20 passing (1m)


  (Results)

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


  (Video)

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


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

  (Run Finished)


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

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 5, 2021

IM 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 (4024ms)
    ✓ Empty dashboard - empty detector index (1469ms)
    ✓ AD dashboard - single running detector (1067ms)
    ✓ AD dashboard - redirect to create detector (1136ms)
    ✓ Filter by detector (1765ms)
    ✓ Filter by detector state (1267ms)


  6 passing (11s)


  (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 (4034ms)
    ✓ Empty detectors - empty detector index (1375ms)
    ✓ One detector - single stopped detector index (1310ms)
    ✓ Multiple detectors - multiple detectors index (2255ms)
    ✓ Redirect to create detector (1079ms)
    ✓ Start single detector (1394ms)
    ✓ Stop single detector (1445ms)
    - Delete single detector
    ✓ Filter by detector search (1955ms)
    ✓ Filter by detector state (1438ms)


  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    (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 (9ms)
  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:16       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts        9ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:27       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 5, 2021

IM 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 (4783ms)
    ✓ Empty dashboard - empty detector index (1537ms)
    ✓ AD dashboard - single running detector (804ms)
    ✓ AD dashboard - redirect to create detector (1044ms)
    ✓ Filter by detector (1492ms)
    ✓ Filter by detector state (1262ms)


  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 (3730ms)
    ✓ Empty detectors - empty detector index (1234ms)
    ✓ One detector - single stopped detector index (1161ms)
    ✓ Multiple detectors - multiple detectors index (1635ms)
    ✓ Redirect to create detector (1171ms)
    ✓ Start single detector (1246ms)
    ✓ Stop single detector (1305ms)
    - Delete single detector
    ✓ Filter by detector search (1731ms)
    ✓ Filter by detector state (1271ms)


  9 passing (15s)
  1 pending


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        10                                                                               │
  │ Passing:      9                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      1                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     14 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 (28ms)
  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:14       10        9        -        1        - │
  │    ts                                                                                          │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  ad/workflow/create_detector.spec.ts       17ms        1        -        -        1        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        00:25       17       15        -        2        -

@peterzhuamazon
Copy link
Member Author

Notebooks Dashboards arm64 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


  Adding sample data and visualization
    ✓ Adds sample flights data for visualization paragraph (7175ms)

  Testing notebooks table
    ✓ Displays error toast for invalid notebook name (6012ms)
    ✓ Creates a notebook and redirects to the notebook (5884ms)
    ✓ Duplicates and renames a notebook (13838ms)
    ✓ Searches existing notebooks (7480ms)
    ✓ Deletes notebooks (10642ms)

  Test reporting integration if plugin installed
    ✓ Create in-context PDF report from notebook (5475ms)
    ✓ Create in-context PNG report from notebook (5433ms)
    ✓ Create on-demand report definition from context menu (8782ms)
    ✓ View reports homepage from context menu (6371ms)

  Testing paragraphs
    ✓ Goes into a notebook and creates paragraphs (13727ms)
    ✓ Renders markdown (4671ms)
    ✓ Shows output message (7824ms)
    ✓ Renders input only mode (6551ms)
    ✓ Renders output only mode (5266ms)
    ✓ Duplicates paragraphs (7729ms)
    ✓ Adds a visualization paragraph (12668ms)
    ✓ Adds a SQL query paragraph (14273ms)
    ✓ Adds a PPL query paragraph (15626ms)
    ✓ Clears outputs (10761ms)
    ✓ Runs all paragraphs (7022ms)
    ✓ Adds paragraph to top and bottom (18531ms)
    ✓ Moves paragraphs (9602ms)
    ✓ Duplicates and renames the notebook (17919ms)
    ✓ Deletes paragraphs (12836ms)
    ✓ Deletes notebook (10509ms)


  26 passing (4m)


  (Results)

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


  (Video)

  -  Started processing:  Compressing to 32 CRF
    Compression progress:  28%
    Compression progress:  57%
    Compression progress:  86%
  -  Finished processing: /home/ec2-user/OpenSearch-Dashboards/plugins/dashboards-not   (37 seconds)
                          ebooks/.cypress/videos/ui.spec.js.mp4


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

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  ui.spec.js                               04:15       26       26        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        04:15       26       26        -        -        -

@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Oct 5, 2021

Reports Dashboards arm64 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


  Adding sample data
    ✓ Adds sample data (22954ms)

  Cypress
    ✓ Visits Reporting homepage (90ms)
    ✓ Visit Create page (13028ms)
    ✓ Create a new on-demand report definition (27773ms)
    ✓ Create a new scheduled report definition (28156ms)


  5 passing (2m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        5                                                                                │
  │ Passing:      5                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 33 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 (15133ms)
    ✓ Visit edit page, change report source and trigger (14224ms)
    ✓ Visit edit page, change report source back (14133ms)


  3 passing (44s)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     44 seconds                                                                       │
  │ Spec Ran:     02-edit.spec.ts                                                                  │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

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


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

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


  Cypress
    ✓ Visit report definition details page (14309ms)
    ✓ Visit report details page (12796ms)


  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 (12872ms)
    ✓ Download pdf from in-context menu (5721ms)
    ✓ Download png from in-context menu (6068ms)
    ✓ Download csv from saved search in-context menu (11086ms)
    ✓ Download from Report definition details page (10421ms)


  5 passing (47s)


  (Results)

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


  (Video)

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


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

  (Run Finished)


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

@peterzhuamazon
Copy link
Member Author

Security Dashboards arm64 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 (38.662 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:22279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:22279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:22279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:22279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 close listeners added. Use emitter.setMaxListeners() to increase limit
(node:22279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 26 finish listeners added. Use emitter.setMaxListeners() to increase limit
 PASS  test/jest_integration/basic_auth.test.ts (5.169 s)
  ● 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 (6.258 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:        52.693 s
Ran all test suites.
Done in 55.48s.
[ec2-user@ip-172-31-24-166 security-dashboards-plugin]$

@peterzhuamazon
Copy link
Member Author

OpenSearch:

x64


2021-10-04 23:31:05 INFO     | alerting             | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | alerting             | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | anomaly-detection    | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | anomaly-detection    | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | asynchronous-search  | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | asynchronous-search  | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | dashboards-notebooks | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | dashboards-reports   | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | index-management     | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | index-management     | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | k-NN                 | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | k-NN                 | without-security     | PASS  |    0 |
2021-10-04 23:31:05 INFO     | sql                  | with-security        | PASS  |    0 |
2021-10-04 23:31:05 INFO     | sql                  | without-security     | PASS  |    0 |

arm64


2021-10-04 23:28:40 INFO     | alerting             | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | alerting             | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | anomaly-detection    | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | anomaly-detection    | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | asynchronous-search  | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | asynchronous-search  | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | dashboards-notebooks | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | dashboards-reports   | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | index-management     | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | index-management     | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | k-NN                 | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | k-NN                 | without-security     | PASS  |    0 |
2021-10-04 23:28:40 INFO     | sql                  | with-security        | PASS  |    0 |
2021-10-04 23:28:40 INFO     | sql                  | without-security     | PASS  |    0 |

@peterzhuamazon
Copy link
Member Author

All tests have passed for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant