You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2015/10/09 18:01:26 UTC

[jira] [Created] (YETUS-67) XML plugin raises a false alarm against a removed file

Kengo Seki created YETUS-67:
-------------------------------

             Summary: XML plugin raises a false alarm against a removed file
                 Key: YETUS-67
                 URL: https://issues.apache.org/jira/browse/YETUS-67
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
            Reporter: Kengo Seki


Because it doesn't check if the file exists. Example:

{code}
[sekikn@mobile yetus]$ dev-support/test-patch.sh --basedir=/Users/sekikn/bigtop --project=bigtop BIGTOP-2084

(snip)

| Vote |      Subsystem |  Runtime   | Comment
============================================================================
|  +1  |       @author  |  0m 00s    | The patch does not contain any @author 
|      |                |            | tags.
|  +1  |    gradleboot  |  1m 08s    | master passed 
|  +1  |    gradleboot  |  0m 57s    | the patch passed 
|  +1  |    shellcheck  |  0m 02s    | There were no new shellcheck issues. 
|  -1  |    whitespace  |  0m 00s    | The patch has 45 line(s) that end in 
|      |                |            | whitespace. Use git apply
|      |                |            | --whitespace=fix.
|  -1  |    whitespace  |  0m 04s    | The patch has 5 line(s) with tabs. 
|  -1  |           xml  |  3m 04s    | The patch has 11 ill-formed XML file(s). 
|  +1  |    asflicense  |  0m 46s    | Patch does not generate ASF License 
|      |                |            | warnings.
|      |                |  8m 23s    | 


|| Subsystem || Report/Notes ||
============================================================================
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12765770/BIGTOP-2084.2.patch |
| JIRA Issue | BIGTOP-2084 |
| Optional Tests | asflicense shellcheck  xml  |
| uname | Darwin mobile.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 |
| Build tool | gradle |
| Personality | /Users/sekikn/dev/yetus/dev-support/personality/bigtop.sh |
| git revision | master / 2a6fa3a |
| Default Java | 1.7.0_80 |
| shellcheck | v0.4.1 |
| whitespace | /private/tmp/yetus-22660.15373/whitespace-eol.txt |
| whitespace | /private/tmp/yetus-22660.15373/whitespace-tabs.txt |
| xml | /private/tmp/yetus-22660.15373/xml.txt |


============================================================================
============================================================================
                              Finished build.
============================================================================
============================================================================


[sekikn@mobile yetus]$ cat /private/tmp/yetus-22660.15373/xml.txt
script error: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: /Users/sekikn/bigtop/bigtop-deploy/puppet/modules/hadoop-hbase/templates/hbase-site.xml (No such file or directory) (<system-init>#714) in <system-init> at line number 714
script error: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: /Users/sekikn/bigtop/bigtop-deploy/puppet/modules/hadoop-hive/templates/hive-site.xml (No such file or directory) (<system-init>#714) in <system-init> at line number 714
script error: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.io.FileNotFoundException: /Users/sekikn/bigtop/bigtop-deploy/puppet/modules/hadoop-oozie/templates/oozie-site.xml (No such file or directory) (<system-init>#714) in <system-init> at line number 714

(snip)
{code}



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