Gautham Banasandra created HADOOP-17807:
-------------------------------------------

             Summary: Use separate source dir for platform builds
                 Key: HADOOP-17807
                 URL: https://issues.apache.org/jira/browse/HADOOP-17807
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 3.4.0
            Reporter: Gautham Banasandra
            Assignee: Gautham Banasandra
         Attachments: image-2021-07-16-11-36-26-698.png, 
image-2021-07-16-11-36-55-495.png, image-2021-07-16-11-37-56-923.png

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 -
 !image-2021-07-16-11-36-26-698.png! 

Subsequently, the CI for Debian 10 gets skipped -
 !image-2021-07-16-11-36-55-495.png! 

However, CI for Ubuntu focal runs since it's not marked as optional -
 !image-2021-07-16-11-37-56-923.png! 

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to