From 2c461533b5d10d99e782a0442b969fac54c3ce75 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 18 Dec 2023 11:23:36 +0800 Subject: [PATCH 1/5] temp: run all test Signed-off-by: SuZhou-Joe --- .../workflows/alerting-release-e2e-workflow.yml | 2 +- .../anomaly-detection-release-e2e-workflow.yml | 2 +- ...mport-map-dashboards-release-e2e-workflow.yml | 2 +- ...ss-workflow-bundle-snapshot-based-windows.yml | 16 ++++++++-------- .../cypress-workflow-bundle-snapshot-based.yml | 16 ++++++++-------- .../gantt-chart-release-e2e-workflow.yml | 2 +- .../index-management-release-e2e-workflow.yml | 2 +- .../ml-commons-release-e2e-workflow.yml | 2 +- .../notifications-release-e2e-workflow.yml | 2 +- .../observability-release-e2e-workflow.yml | 2 +- .../query-workbench-release-e2e-workflow.yml | 2 +- .../workflows/reports-release-e2e-workflow.yml | 2 +- .../search-relevance-release-e2e-workflow.yml | 2 +- .../security-analytics-release-e2e-workflow.yml | 2 +- .../workflows/security-release-e2e-workflow.yml | 2 +- 15 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/alerting-release-e2e-workflow.yml b/.github/workflows/alerting-release-e2e-workflow.yml index 2a8e89523..6422f2cf0 100644 --- a/.github/workflows/alerting-release-e2e-workflow.yml +++ b/.github/workflows/alerting-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Alerting diff --git a/.github/workflows/anomaly-detection-release-e2e-workflow.yml b/.github/workflows/anomaly-detection-release-e2e-workflow.yml index ff9b637fd..b4aed7008 100644 --- a/.github/workflows/anomaly-detection-release-e2e-workflow.yml +++ b/.github/workflows/anomaly-detection-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Anomaly Detection diff --git a/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml b/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml index 0bf7fa279..42fdb9736 100644 --- a/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml +++ b/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Observability diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml index 27a2115cb..772c572de 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml @@ -2,14 +2,14 @@ name: Bundle Snapshot based E2E Cypress tests workflow for core Dashboards (Wind on: pull_request: branches: [ '**' ] - paths: - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' - push: - branches: [ '**' ] - paths: - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' + # paths: + # - 'cypress/**/core-opensearch-dashboards/**' + # - 'cypress/utils/dashboards/**' + # push: + # branches: [ '**' ] + # paths: + # - 'cypress/**/core-opensearch-dashboards/**' + # - 'cypress/utils/dashboards/**' jobs: tests-with-security: diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml index 0e87e6c2f..9184233a3 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml @@ -2,14 +2,14 @@ name: Bundle Snapshot based E2E Cypress tests workflow for core Dashboards on: pull_request: branches: [ '**' ] - paths: - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' - push: - branches: [ '**' ] - paths: - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' + # paths: + # - 'cypress/**/core-opensearch-dashboards/**' + # - 'cypress/utils/dashboards/**' + # push: + # branches: [ '**' ] + # paths: + # - 'cypress/**/core-opensearch-dashboards/**' + # - 'cypress/utils/dashboards/**' jobs: tests-with-security: diff --git a/.github/workflows/gantt-chart-release-e2e-workflow.yml b/.github/workflows/gantt-chart-release-e2e-workflow.yml index a76240c9e..4b3a65fe7 100644 --- a/.github/workflows/gantt-chart-release-e2e-workflow.yml +++ b/.github/workflows/gantt-chart-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Gantt Chart diff --git a/.github/workflows/index-management-release-e2e-workflow.yml b/.github/workflows/index-management-release-e2e-workflow.yml index d7a9a5517..69a1b7ac9 100644 --- a/.github/workflows/index-management-release-e2e-workflow.yml +++ b/.github/workflows/index-management-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Index Management diff --git a/.github/workflows/ml-commons-release-e2e-workflow.yml b/.github/workflows/ml-commons-release-e2e-workflow.yml index 7998afab6..790264b31 100644 --- a/.github/workflows/ml-commons-release-e2e-workflow.yml +++ b/.github/workflows/ml-commons-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: ML Commons diff --git a/.github/workflows/notifications-release-e2e-workflow.yml b/.github/workflows/notifications-release-e2e-workflow.yml index fc8973992..7dbc6f73c 100644 --- a/.github/workflows/notifications-release-e2e-workflow.yml +++ b/.github/workflows/notifications-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Notifications diff --git a/.github/workflows/observability-release-e2e-workflow.yml b/.github/workflows/observability-release-e2e-workflow.yml index d94d138e1..ea1560d2e 100644 --- a/.github/workflows/observability-release-e2e-workflow.yml +++ b/.github/workflows/observability-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Observability diff --git a/.github/workflows/query-workbench-release-e2e-workflow.yml b/.github/workflows/query-workbench-release-e2e-workflow.yml index 14108003e..51b57c2a2 100644 --- a/.github/workflows/query-workbench-release-e2e-workflow.yml +++ b/.github/workflows/query-workbench-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Query Workbench diff --git a/.github/workflows/reports-release-e2e-workflow.yml b/.github/workflows/reports-release-e2e-workflow.yml index 3c5132c39..8fe82a10c 100644 --- a/.github/workflows/reports-release-e2e-workflow.yml +++ b/.github/workflows/reports-release-e2e-workflow.yml @@ -17,7 +17,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Reports diff --git a/.github/workflows/search-relevance-release-e2e-workflow.yml b/.github/workflows/search-relevance-release-e2e-workflow.yml index 8a83109a7..69c1a7a9b 100644 --- a/.github/workflows/search-relevance-release-e2e-workflow.yml +++ b/.github/workflows/search-relevance-release-e2e-workflow.yml @@ -16,7 +16,7 @@ jobs: - 'cypress/**/search-relevance-dashboards/**' tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Search Relevance diff --git a/.github/workflows/security-analytics-release-e2e-workflow.yml b/.github/workflows/security-analytics-release-e2e-workflow.yml index d102aeafa..63a031d7a 100644 --- a/.github/workflows/security-analytics-release-e2e-workflow.yml +++ b/.github/workflows/security-analytics-release-e2e-workflow.yml @@ -20,7 +20,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security Analytics diff --git a/.github/workflows/security-release-e2e-workflow.yml b/.github/workflows/security-release-e2e-workflow.yml index 8b80b32ca..cbe4d2ad6 100644 --- a/.github/workflows/security-release-e2e-workflow.yml +++ b/.github/workflows/security-release-e2e-workflow.yml @@ -18,7 +18,7 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security From 6077f041520ccc152c83cbe9d619444315694ddd Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 18 Dec 2023 14:51:12 +0800 Subject: [PATCH 2/5] feat: disable command log to unhang all the test Signed-off-by: SuZhou-Joe --- cypress.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress.json b/cypress.json index 41c52a98c..2626d3984 100644 --- a/cypress.json +++ b/cypress.json @@ -26,6 +26,7 @@ "ML_COMMONS_DASHBOARDS_ENABLED": true, "WAIT_FOR_LOADER_BUFFER_MS": 0, "DASHBOARDS_ASSISTANT_ENABLED": false, - "WORKSPACE_ENABLED": false + "WORKSPACE_ENABLED": false, + "NO_COMMAND_LOG": 1 } } From 3fad52b522170741529c453741ee51aa80ac728e Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Wed, 24 Apr 2024 16:10:24 +0800 Subject: [PATCH 3/5] temp remove notification plugins to avoid build error Signed-off-by: Lin Wang --- .github/workflows/release-e2e-workflow-template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-e2e-workflow-template.yml b/.github/workflows/release-e2e-workflow-template.yml index 2f2b62926..e991c072d 100644 --- a/.github/workflows/release-e2e-workflow-template.yml +++ b/.github/workflows/release-e2e-workflow-template.yml @@ -96,6 +96,7 @@ jobs: - name: Run OpenSearch-Dashboards server run: | cd opensearch-dashboards-${{ env.VERSION }} + ./bin/opensearch-dashboards-plugin remove notificationsDashboards if [ "$SECURITY_ENABLED" = 'false' ]; then echo "Remove Dashboards Security" ./bin/opensearch-dashboards-plugin remove securityDashboards From acc9a3d7f123b6cf315b826c9d40c09104499de9 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Thu, 25 Apr 2024 14:51:20 +0800 Subject: [PATCH 4/5] Revert "feat: disable command log to unhang all the test" This reverts commit 6077f041520ccc152c83cbe9d619444315694ddd. Signed-off-by: Lin Wang --- cypress.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress.json b/cypress.json index 2626d3984..41c52a98c 100644 --- a/cypress.json +++ b/cypress.json @@ -26,7 +26,6 @@ "ML_COMMONS_DASHBOARDS_ENABLED": true, "WAIT_FOR_LOADER_BUFFER_MS": 0, "DASHBOARDS_ASSISTANT_ENABLED": false, - "WORKSPACE_ENABLED": false, - "NO_COMMAND_LOG": 1 + "WORKSPACE_ENABLED": false } } From 184bac1fe17b62cc45de9e8ac2194c137c6c8d95 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Mon, 4 Nov 2024 15:35:31 +0800 Subject: [PATCH 5/5] Always run all ci groups Signed-off-by: Lin Wang --- ...rkflow-bundle-snapshot-based-ci-groups.yml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml index 7a1067bd2..e3726c477 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml @@ -2,21 +2,21 @@ name: Cypress test for core Dashboards on: pull_request: branches: ['**'] - paths: - - '.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml' - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' - - 'package.json' - - '.github/actions/start-opensearch/action.yml' +# paths: +# - '.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml' +# - 'cypress/**/core-opensearch-dashboards/**' +# - 'cypress/utils/dashboards/**' +# - 'package.json' +# - '.github/actions/start-opensearch/action.yml' push: branches: ['**'] - paths: - - '.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml' - - 'cypress/**/core-opensearch-dashboards/**' - - 'cypress/utils/dashboards/**' - - 'package.json' - - '.github/actions/start-opensearch/action.yml' +# paths: +# - '.github/workflows/cypress-workflow-bundle-snapshot-based-ci-groups.yml' +# - 'cypress/**/core-opensearch-dashboards/**' +# - 'cypress/utils/dashboards/**' +# - 'package.json' +# - '.github/actions/start-opensearch/action.yml' env: CI_GROUPS: "1,2,3,4,5,6,7,8,9"