Skip to content

[Test Fail] Run cypress tests (osd:ciGroup13) and Run cypress tests (osd:ciGroup15Explore) flaky tests #10648

@ananzh

Description

@ananzh

Run cypress tests (osd:ciGroup13)

Running:  inspect.spec.js                                                                 (4 of 6)


  inspect spec
    ✓ should inspect and validate the first row data for dataset: INDEX_PATTERN and language: DQL (93986ms)
    ✓ should inspect and validate the first row data for dataset: INDEX_PATTERN and language: Lucene (21748ms)
    ✓ should inspect and validate the first row data for dataset: INDEX_PATTERN and language: OpenSearch SQL (24003ms)
    ✓ should inspect and validate the first row data for dataset: INDEX_PATTERN and language: PPL (36697ms)
    ✓ should inspect and validate the first row data for dataset: INDEXES and language: OpenSearch SQL (30936ms)
    ✓ should inspect and validate the first row data for dataset: INDEXES and language: PPL (40061ms)
[agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Warning:  log   [07:10:20.058] [warning][home][plugins][sampleData] Unable to create sample data index "opensearch_dashboards_sample_data_flights", error: Data Source Error: [index_create_block_exception] blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];
Error:    log   [07:10:20.059] [error][http] Error: options.statusCode is expected to be set. given options: undefined
    at Object.customError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response.ts:226:13)
    at /__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/plugins/home/server/services/sample_data/routes/install.ts:186:22
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:286:44)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
server   error  [07:10:20.048]  Error: Internal Server Error
    at HapiResponseAdapter.toInternalError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response_adapter.ts:72:19)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:304:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
    (Attempt 1 of 3) should test visualizations inspect
Warning:  log   [07:10:54.808] [warning][home][plugins][sampleData] Unable to create sample data index "opensearch_dashboards_sample_data_flights", error: Data Source Error: [index_create_block_exception] blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];
Error:    log   [07:10:54.808] [error][http] Error: options.statusCode is expected to be set. given options: undefined
    at Object.customError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response.ts:226:13)
    at /__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/plugins/home/server/services/sample_data/routes/install.ts:186:22
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:286:44)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
server   error  [07:10:54.796]  Error: Internal Server Error
    at HapiResponseAdapter.toInternalError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response_adapter.ts:72:19)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:304:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
    (Attempt 2 of 3) should test visualizations inspect
Warning:  log   [07:11:29.880] [warning][home][plugins][sampleData] Unable to create sample data index "opensearch_dashboards_sample_data_flights", error: Data Source Error: [index_create_block_exception] blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];
Error:    log   [07:11:29.880] [error][http] Error: options.statusCode is expected to be set. given options: undefined
    at Object.customError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response.ts:226:13)
    at /__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/plugins/home/server/services/sample_data/routes/install.ts:186:22
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:286:44)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
server   error  [07:11:29.862]  Error: Internal Server Error
    at HapiResponseAdapter.toInternalError (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/response_adapter.ts:72:19)
    at Router.handle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:304:34)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/src/core/server/http/router/router.ts:241:11)
    at exports.Manager.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
    at Object.internals.handler (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:46:20)
    at exports.execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/handler.js:31:20)
    at Request._lifecycle (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:371:32)
    at Request._execute (/__w/OpenSearch-Dashboards/OpenSearch-Dashboards/node_modules/@hapi/hapi/lib/request.js:281:9)
    1) should test visualizations inspect
    2) "after all" hook for "should test visualizations inspect"


  6 passing (6m)
  2 failing

  1) inspect spec
       should test visualizations inspect:
     AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-test-subj="sampleDataSetInstallToast"]`, but never found it.
      at Context.eval (webpack:///./cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/03/inspect.spec.js:111:57)

  2) inspect spec
       "after all" hook for "should test visualizations inspect":
     TypeError: $el.css is not a function

locally can pass

  • table.spec.js is also very vulnerable and need several re-tries to pass.

Run cypress tests (osd:ciGroup15Explore)

locally also failed on current main

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions