Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17807

Use separate source dir for platform builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • build
    • Reviewed

    Description

      The multi-platform build stages run on the checkout of the source directory, one after the other. For those platforms that are marked as optional (Centos 8 and Debian 10 currently), the condition to run CI on the platform is determined by inspecting the git commit history and checking if there's any C++ file/C++ build/platform related changes.

      It seems like after YETUS runs onĀ one platform, it's clearing up the git branch information. This is causing the build to not get triggered on the optional platforms. Please note that those platforms not marked optional (Ubuntu focal) isn't affected by this since CI runs for this platform irrespective of any C++ changes.

      We can see this in the Jenkins UI page -

      CI runs for Centos 8 -

      Subsequently, the CI for Debian 10 gets skipped -

      However, CI for Ubuntu focal runs since it's not marked as optional -

      Thus, we need to ensure that each platform builds on its own copy of the source code checkout so that whatever changes one platform makes doesn't affect the other.

      Attachments

        1. image-2021-07-16-11-36-26-698.png
          30 kB
          Gautham Banasandra
        2. image-2021-07-16-11-36-55-495.png
          53 kB
          Gautham Banasandra
        3. image-2021-07-16-11-37-56-923.png
          76 kB
          Gautham Banasandra

        Issue Links

          Activity

            People

              gaurava Gautham Banasandra
              gaurava Gautham Banasandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h
                  5h