-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Run cypress tests (osd:ciGroup13)
- inspect.spec.js failing both remotely in several PRs like https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/18270047803/job/52014880956?pr=10639 and https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/18255276431/job/52005256374?pr=10644
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)
- recent_queries.spec.js is failing on multiple PRs
https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/18270047803/attempts/2?pr=10639
https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/18232734880/job/51929219041?pr=10642
locally also failed on current main

Metadata
Metadata
Assignees
Labels
No labels