You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/11/09 20:58:11 UTC

[jira] [Commented] (YETUS-172) Hadoop pre-commit with shell script patches fails on branch-2, because shelltest Maven profile does not exist.

    [ https://issues.apache.org/jira/browse/YETUS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997252#comment-14997252 ] 

Chris Nauroth commented on YETUS-172:
-------------------------------------

See HADOOP-12451 for a sample run of a branch-2 patch showing the problem.

> Hadoop pre-commit with shell script patches fails on branch-2, because shelltest Maven profile does not exist.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: YETUS-172
>                 URL: https://issues.apache.org/jira/browse/YETUS-172
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>            Reporter: Chris Nauroth
>
> When Yetus runs a pre-commit patch on Hadoop, and it detects changes in Bash code, it activates the {{shelltest}} Maven profile for the build to run BATS tests.  This profile exists in Hadoop trunk, but not branch-2.  For a branch-2 patch on bash scripts, this will cause the pre-commit to fail.  This issue tracks enhancing the Hadoop personality to skip the {{shelltest}} profile on branches that do not support the profile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)