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

Use platform specific endpoints for CI report

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • build
    • Centos 7, Centos 8, Debian 10, Ubuntu Focal

    Description

      Consider the Github comment by hadoop-yetus for different platform runs -

      Platform hadoop-yetus report
      Centos 7 https://github.com/apache/hadoop/pull/3563#issuecomment-947151110
      Centos 8 https://github.com/apache/hadoop/pull/3563#issuecomment-947239385
      Debian 10 https://github.com/apache/hadoop/pull/3563#issuecomment-947340406
      Ubuntu Focal https://github.com/apache/hadoop/pull/3563#issuecomment-947464004

       
      Notice that the Docker subsystem points to the same file for all the platforms -

      To illustrate the issue here, upon clicking on the link to Dockerfile in Centos 7's hadoop-yetus report will navigate to Ubuntu Focal's Dockerfile (since Ubuntu Focal wass the most recently run platform for that pipeline run).
      Please note that this issue applies to all the links that contain "out/" that appear in the Yetus summary.

      As a side note, this issue doesn't happen when the Yetus run fails. Consider https://github.com/apache/hadoop/pull/3563#issuecomment-946215556. Here the Yetus run has failed for Centos 7. The link to Dockerfile points to Centos 7's Dockerfile since Centos 7 is the last platform that was run for that pipeline.


      To fix this issue, we need to do the following two things -
      Archive the artifacts even when the Yetus run is successful
      Currently, we're archiving the artifacts only when the run fails - https://github.com/apache/hadoop/blob/bccf2f3ef4c8f09f010656f9061a4e323daf132b/dev-support/Jenkinsfile#L142-L148 (Hence, we're able to navigate to the right Dockerfile when the Yetus run fails for a platform). We need to archive the artifacts even when the run succeeds so that we're able to navigate to it irrespective of success/failure of the Yetus run.

      Expose different endpoints for each platform
      At the end of the Yetus's pre-commit run, we see the following table -

      We need a way to change the URL to /artifact/centos-7/out/, /artifact/ubuntu-focal/out/ and so on.

      Attachments

        1. image-2021-11-12-21-13-18-997.png
          10 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:

                Time Tracking

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