Skip to content

[FEATURE] Get well plan for the Github CI pipeline #3168

Closed

Description

@andy-k-improving

Is your feature request related to a problem?

At the moment, the CI build for the project is broken, and PR patch being merged regardless of the CI build result.
This brings additional risk to the project, because there may be additional failure that a particular patch introduced, but being ignored by both Dev and reviewer, due to the fact that build is always failing on the main branch.

What solution would you like?

Existing CI errors with corresponded fix:

What alternatives have you considered?
N/A

Do you have any additional context?
image

image

Activity

  1. YANG-DB commented on Nov 27, 2024

    @YANG-DB
    Member

    Thanks @andy-k-improving - it sounds like we have a plan !!

  2. andy-k-improving commented on Nov 29, 2024

    @andy-k-improving
    ContributorAuthor

    Seems to be related: actions/checkout#1590, actions/checkout#1809
    Tracing the commit history to better understand since when we have this on main

  3. andy-k-improving commented on Nov 29, 2024

    @andy-k-improving
    ContributorAuthor

    The error seems to happen after 8b2d01e, but I don't think it's related to the code change itself, it's more about aciton/checkout@v3 looking for an old version of node which is not exist on the ci-runner.
    image

  4. andy-k-improving commented on Nov 29, 2024

    @andy-k-improving
    ContributorAuthor

    Similar fix applied on Job-scheduler and it's working.
    I will create a PR to replicate the change tomorrow.
    opensearch-project/job-scheduler#702

  5. andy-k-improving commented on Nov 29, 2024

    @andy-k-improving
    ContributorAuthor
  6. andy-k-improving commented on Dec 2, 2024

    @andy-k-improving
    ContributorAuthor

    @YANG-DB Can you re-open this, as bwc test need to be fixed also, also we should bring up the discussion of the code coverage, as it's 5% behind now compare to the required 99%.

  7. reopened this on Dec 2, 2024
  8. andy-k-improving commented on Dec 2, 2024

    @andy-k-improving
    ContributorAuthor

    I tried to reproduce the bwc-test locally on Mac, however the Gradle build script script looks for the opensearch-min artifact under: 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'
    Which I have checked on the OpenSearch site, and only Linux binary is published at the moment for min but not darwin and window.

    @YANG-DB Wonder have you seen this issue before?

    
    * What went wrong:
    Execution failed for task ':integ-test:sqlBwcCluster#oldVersionClusterTask1'.
    > Could not resolve all files for configuration ':integ-test:opensearch_distro_extracted_testclusters-integ-test-sqlBwcCluster1-0-2.17.0-'.
       > Could not resolve opensearch-distribution:opensearch:2.17.0.
         Required by:
             project :integ-test
          > Could not resolve opensearch-distribution:opensearch:2.17.0.
             > Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'.
                > Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'. Received status code 403 from server: Forbidden
          > Could not resolve opensearch-distribution:opensearch:2.17.0.
             > Could not get resource 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'.
                > Could not HEAD 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'. Received status code 403 from server: Forbidden
    
  9. YANG-DB commented on Dec 2, 2024

    @YANG-DB
    Member

    I tried to reproduce the bwc-test locally on Mac, however the Gradle build script script looks for the opensearch-min artifact under: 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz' Which I have checked on the OpenSearch site, and only Linux binary is published at the moment for min but not darwin and window.

    @YANG-DB Wonder have you seen this issue before?

    Unfortunately no

  10. andy-k-improving commented on Dec 2, 2024

    @andy-k-improving
    ContributorAuthor

    I tried to reproduce the bwc-test locally on Mac, however the Gradle build script script looks for the opensearch-min artifact under: 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz' Which I have checked on the OpenSearch site, and only Linux binary is published at the moment for min but not darwin and window.
    @YANG-DB Wonder have you seen this issue before?

    Unfortunately no

    Thx for the quick reply.

    If that is the case, I will put this on hold, as I don't a Linux || Ubuntu machine handy, and the amount of time to make the bwc task run on Mac is unceratin, because the build script to download the min artifact is located on the main OpenSearch repo.

  11. andy-k-improving commented on Dec 2, 2024

    @andy-k-improving
    ContributorAuthor

    If others would be able to run bwc test locally, please free to contribute.

  12. RyanL1997 commented on Dec 19, 2024

    @RyanL1997
    Collaborator

    I tried to reproduce the bwc-test locally on Mac, however the Gradle build script script looks for the opensearch-min artifact under: 'https://artifacts.opensearch.org/releases/core/opensearch/2.17.0/opensearch-min-2.17.0-darwin-x64.tar.gz'
    Which I have checked on the OpenSearch site, and only Linux binary is published at the moment for min but not darwin and window.

    I'd like to run this in the forked branch with github runner.

  13. added
    testing
    on Dec 19, 2024
  14. andy-k-improving commented on Jan 17, 2025

    @andy-k-improving
    ContributorAuthor

    opensearch-project/OpenSearch#3615
    This is the same exception we are getting I have executed the bwc offline separately which fullRestartClusterTask passed but rollingUpgradeClusterTask and mixedClusterTask.
    By reading on mentieond issue, seems Opensearch Only support the migration from latest 2.x
    To verify this, I will run a few test offline and update on this thread.

  15. andy-k-improving commented on Jan 18, 2025

    @andy-k-improving
    ContributorAuthor

    bwcTestSuite fix: #3255

  16. andy-k-improving commented on Jan 22, 2025

    @andy-k-improving
    ContributorAuthor

    Both PR feature branch and main are green now.
    Closing this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions