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

Hadoop QA commented on HDFS-8310:
---------------------------------

\\
\\
| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |   5m 11s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 31s | There were no new javac warning 
messages. |
| {color:green}+1{color} | release audit |   0m 19s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   1m  5s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 33s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 32s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   1m 39s | The patch does not introduce 
any new Findbugs (version 2.0.3) warnings. |
| {color:green}+1{color} | common tests |  23m  4s | Tests passed in 
hadoop-common. |
| | |  40m 59s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12729984/HDFS-8310-001.patch |
| Optional Tests | javac unit findbugs checkstyle |
| git revision | trunk / a319771 |
| hadoop-common test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10754/artifact/patchprocess/testrun_hadoop-common.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10754/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf904.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/10754/console |


This message was automatically generated.

> Fix TestCLI.testAll "help: help for find" on Windows
> ----------------------------------------------------
>
>                 Key: HDFS-8310
>                 URL: https://issues.apache.org/jira/browse/HDFS-8310
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Xiaoyu Yao
>            Assignee: Kiran Kumar M R
>            Priority: Minor
>         Attachments: HDFS-8310-001.patch
>
>
> The test uses <RegexAcrossOutputComparator> in a single regex, which does not 
> match on Windows as shown below.
> {code}
> 2015-04-30 01:14:01,737 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(155)) - 
> -------------------------------------------
> 2015-04-30 01:14:01,737 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(156)) -                     Test ID: [31]
> 2015-04-30 01:14:01,737 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(157)) -            Test Description: 
> [help: help for find]
> 2015-04-30 01:14:01,737 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(158)) - 
> 2015-04-30 01:14:01,738 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(162)) -               Test Commands: 
> [-help find]
> 2015-04-30 01:14:01,738 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(166)) - 
> 2015-04-30 01:14:01,738 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(173)) - 
> 2015-04-30 01:14:01,738 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(177)) -                  Comparator: 
> [RegexpAcrossOutputComparator]
> 2015-04-30 01:14:01,738 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(179)) -          Comparision result:   
> [fail]
> 2015-04-30 01:14:01,739 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(181)) -             Expected output:   
> [-find <path> \.\.\. <expression> \.\.\. :
>   Finds all files that match the specified expression and
>   applies selected actions to them\. If no <path> is specified
>   then defaults to the current working directory\. If no
>   expression is specified then defaults to -print\.
>   
>   The following primary expressions are recognised:
>     -name pattern
>     -iname pattern
>       Evaluates as true if the basename of the file matches the
>       pattern using standard file system globbing\.
>       If -iname is used then the match is case insensitive\.
>   
>     -print
>     -print0
>       Always evaluates to true. Causes the current pathname to be
>       written to standard output followed by a newline. If the -print0
>       expression is used then an ASCII NULL character is appended rather
>       than a newline.
>   
>   The following operators are recognised:
>     expression -a expression
>     expression -and expression
>     expression expression
>       Logical AND operator for joining two expressions\. Returns
>       true if both child expressions return true\. Implied by the
>       juxtaposition of two expressions and so does not need to be
>       explicitly specified\. The second expression will not be
>       applied if the first fails\.
> ]
> 2015-04-30 01:14:01,739 INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(183)) -               Actual output:   
> [-find <path> ... <expression> ... :
>   Finds all files that match the specified expression and
>   applies selected actions to them. If no <path> is specified
>   then defaults to the current working directory. If no
>   expression is specified then defaults to -print.
>   
>   The following primary expressions are recognised:
>     -name pattern
>     -iname pattern
>       Evaluates as true if the basename of the file matches the
>       pattern using standard file system globbing.
>       If -iname is used then the match is case insensitive.
>   
>     -print
>     -print0
>       Always evaluates to true. Causes the current pathname to be
>       written to standard output followed by a newline. If the -print0
>       expression is used then an ASCII NULL character is appended rather
>       than a newline.
>   
>   The following operators are recognised:
>     expression -a expression
>     expression -and expression
>     expression expression
>       Logical AND operator for joining two expressions. Returns
>       true if both child expressions return true. Implied by the
>       juxtaposition of two expressions and so does not need to be
>       explicitly specified. The second expression will not be
>       applied if the first fails.
> ]
> {code} 



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

Reply via email to