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

Hadoop QA commented on HADOOP-12297:
------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  1s | The patch command could not apply 
the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12749883/HADOOP-12297.HADOOP-12111.00.patch
 |
| Optional Tests | site |
| git revision | HADOOP-12111 / 96f2745 |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/7440/console |


This message was automatically generated.

> test-patch's basedir and patch-dir must be directories under the user's home 
> in docker mode if using boot2docker
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12297
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12297
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>    Affects Versions: HADOOP-12111
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>         Attachments: HADOOP-12297.HADOOP-12111.00.patch
>
>
> Docker mode without a patch-dir option or with an absolute path seems not to 
> work:
> {code}
> [sekikn@mobile hadoop]$ dev-support/test-patch.sh 
> --basedir=/Users/sekikn/dev/hadoop --project=hadoop --docker /tmp/test.patch
> (snip)
> Successfully built 37438de64e81
> JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home 
> does not exist. Dockermode: attempting to switch to another.
> /testptch/launch-test-patch.sh: line 42: cd: 
> /testptch/patchprocess/precommit/: No such file or directory
> /testptch/launch-test-patch.sh: line 45: 
> /testptch/patchprocess/precommit/test-patch.sh: No such file or directory
> {code}
> It succeeds if a relative directory is specified:
> {code}
> [sekikn@mobile hadoop]$ dev-support/test-patch.sh 
> --basedir=/Users/sekikn/dev/hadoop --project=hadoop --docker --patch-dir=foo 
> /tmp/test.patch
> (snip)
> Successfully built 6ea5001987a7
> JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home 
> does not exist. Dockermode: attempting to switch to another.
> ============================================================================
> ============================================================================
>                         Bootstrapping test harness
> ============================================================================
> ============================================================================
> (snip)
> +1 overall
> (snip)
> ============================================================================
> ============================================================================
>                               Finished build.
> ============================================================================
> ============================================================================
> {code}
> If my setup or usage is wrong, please close this JIRA as invalid.



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

Reply via email to