Jira: https://issues.apache.org/jira/browse/OOZIE-2829
Build: https://builds.apache.org/job/PreCommit-OOZIE-Build/658/

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 1.77 MB...]


Testing JIRA OOZIE-2829

Cleaning local git workspace

----------------------------

+1 PATCH_APPLIES
+1 CLEAN
-1 RAW_PATCH_ANALYSIS
    +1 the patch does not introduce any @author tags
    +1 the patch does not introduce any tabs
    +1 the patch does not introduce any trailing spaces
    -1 the patch contains 4 line(s) longer than 132 characters
    +1 the patch adds/modifies 5 testcase(s)
+1 RAT
    +1 the patch does not seem to introduce new RAT warnings
+1 JAVADOC
+1 JAVADOC
    +1 the patch does not seem to introduce new Javadoc warning(s)
    +1 the patch does not seem to introduce new Javadoc error(s)
    ERROR: the current HEAD has 2 Javadoc error(s)
+1 COMPILE
    +1 HEAD compiles
    +1 patch compiles
    +1 the patch does not seem to introduce new javac warnings
-1 There are [2] new bugs found below threshold in total that must be fixed.
 +1 There are no new bugs found in [examples].
 +1 There are no new bugs found in [core].
 +1 There are no new bugs found in [sharelib/distcp].
 +1 There are no new bugs found in [sharelib/hive].
 +1 There are no new bugs found in [sharelib/pig].
 +1 There are no new bugs found in [sharelib/spark].
 +1 There are no new bugs found in [sharelib/hive2].
 +1 There are no new bugs found in [sharelib/hcatalog].
 +1 There are no new bugs found in [sharelib/sqoop].
 +1 There are no new bugs found in [sharelib/oozie].
 +1 There are no new bugs found in [sharelib/streaming].
 +1 There are no new bugs found in [webapp].
 -1 There are [2] new bugs found below threshold in [tools] that must be fixed.
 You can find the FindBugs diff here (look for the red and orange ones): 
tools/findbugs-new.html
 The most important FindBugs errors are:
 At OozieSharelibCLI.java:[line 273]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input
 At OozieSharelibCLI.java:[line 169]: At OozieSharelibCLI.java:[line 168]
 At OozieSharelibCLI.java:[line 270]: At OozieSharelibCLI.java:[line 216]
 java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At OozieSharelibCLI.java:[line 272]
 At OozieSharelibCLI.java:[line 172]: At OozieSharelibCLI.java:[line 180]
 +1 There are no new bugs found in [docs].
 +1 There are no new bugs found in [server].
 +1 There are no new bugs found in [fluent-job/fluent-job-api].
 +1 There are no new bugs found in [client].
+1 BACKWARDS_COMPATIBILITY
    +1 the patch does not change any JPA Entity/Colum/Basic/Lob/Transient 
annotations
    +1 the patch does not modify JPA files
-1 TESTS
    Tests run: 2910
    Tests failed: 0
    Tests errors: 2

    The patch failed the following testcases:



    Tests failing with errors:
testFakeCommand(org.apache.oozie.tools.TestOozieSharelibCLI)
testHelpCommand(org.apache.oozie.tools.TestOozieSharelibCLI)

    Tests failed at first run:
TestPurgeXCommand#testPurgeBundleWithCoordChildWithWFChild3
TestActionCheckXCommand#testActionCheck
TestActionStartXCommand#testActionWithEscapedStringAndCDATA
TestJMSJobEventListener#testConnectionDrop
    For the complete list of flaky tests, see TEST-SUMMARY-FULL files.
+1 DISTRO
    +1 distro tarball builds with the patch 

----------------------------
-1 Overall result, please check the reported -1(s)


The full output of the test-patch run is available at

 https://builds.apache.org/job/PreCommit-OOZIE-Build/658/

Adding comment to JIRA
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     
0{"self":"https://issues.apache.org/jira/rest/api/2/issue/13056997/comment/16534665","id":"16534665","author":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","avatarUrls":{"48x48":"https://issues.apache.org/jira/secure/useravatar?ownerId=hadoopqa&avatarId=10393","24x24":"https://issues.apache.org/jira/secure/useravatar?size=small&ownerId=hadoopqa&avatarId=10393","16x16":"https://issues.apache.org/jira/secure/useravatar?size=xsmall&ownerId=hadoopqa&avatarId=10393","32x32":"https://issues.apache.org/jira/secure/useravatar?size=medium&ownerId=hadoopqa&avatarId=10393"},"displayName":"Hadoop
 QA","active":true,"timeZone":"Etc/UTC"},"body":"\nTesting JIRA 
OOZIE-2829\n\nCleaning local git 
workspace\n\n----------------------------\n\n{color:green}+1 
PATCH_APPLIES{color}\n{color:green}+1 CLEAN{color}\n{color:red}-1 
RAW_PATCH_ANALYSIS{color}\n.    {color:green}+1{color} the patch does not 
introduce any @author tags\n.    {color:green}+1{color} the patch does not 
introduce any tabs\n.    {color:green}+1{color} the patch does not introduce 
any trailing spaces\n.    {color:red}-1{color} the patch contains 4 line(s) 
longer than 132 characters\n.    {color:green}+1{color} the patch adds/modifies 
5 testcase(s)\n{color:green}+1 RAT{color}\n.    {color:green}+1{color} the 
patch does not seem to introduce new RAT warnings\n{color:green}+1 
JAVADOC{color}\n{color:green}+1 JAVADOC{color}\n.    {color:green}+1{color} the 
patch does not seem to introduce new Javadoc warning(s)\n.    
{color:green}+1{color} the patch does not seem to introduce new Javadoc 
error(s)\n.    {color:red}ERROR{color}: the current HEAD has 2 Javadoc 
error(s)\n{color:green}+1 COMPILE{color}\n.    {color:green}+1{color} HEAD 
compiles\n.    {color:green}+1{color} patch compiles\n.    
{color:green}+1{color} the patch does not seem to introduce new javac 
warnings\n{color:red}-1{color} There are [2] new bugs found below threshold in 
total that must be fixed.\n. {color:green}+1{color} There are no new bugs found 
in [examples].\n. {color:green}+1{color} There are no new bugs found in 
[core].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/distcp].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/hive].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/pig].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/spark].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/hive2].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/hcatalog].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/sqoop].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/oozie].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/streaming].\n. {color:green}+1{color} There are no new bugs found in 
[webapp].\n. {color:red}-1{color} There are [2] new bugs found below threshold 
in [tools] that must be fixed.\n. You can find the FindBugs diff here (look for 
the red and orange ones): tools/findbugs-new.html\n. The most important 
FindBugs errors are:\n. At OozieSharelibCLI.java:[line 273]: 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input\n. At OozieSharelibCLI.java:[line 169]: At 
OozieSharelibCLI.java:[line 168]\n. At OozieSharelibCLI.java:[line 270]: At 
OozieSharelibCLI.java:[line 216]\n. 
java/io/File.<init>(Ljava/lang/String;)V reads a file whose location 
might be specified by user input: At OozieSharelibCLI.java:[line 272]\n. At 
OozieSharelibCLI.java:[line 172]: At OozieSharelibCLI.java:[line 180]\n. 
{color:green}+1{color} There are no new bugs found in [docs].\n. 
{color:green}+1{color} There are no new bugs found in [server].\n. 
{color:green}+1{color} There are no new bugs found in 
[fluent-job/fluent-job-api].\n. {color:green}+1{color} There are no new bugs 
found in [client].\n{color:green}+1 BACKWARDS_COMPATIBILITY{color}\n.    
{color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations\n.    {color100 10230    0  5803  
100  4427   9099   6941 --:--:-- --:--:-- --:--:--  9109
:green}+1{color} the patch does not modify JPA files\n{color:red}-1 
TESTS{color}\n.    Tests run: 2910\n.    Tests failed: 0\n.    Tests errors: 
2\n\n.    The patch failed the following testcases:\n\n\n\n.    Tests failing 
with 
errors:\ntestFakeCommand(org.apache.oozie.tools.TestOozieSharelibCLI)\ntestHelpCommand(org.apache.oozie.tools.TestOozieSharelibCLI)\n\n.
    {color:orange}Tests failed at first 
run:{color}\nTestPurgeXCommand#testPurgeBundleWithCoordChildWithWFChild3\nTestActionCheckXCommand#testActionCheck\nTestActionStartXCommand#testActionWithEscapedStringAndCDATA\nTestJMSJobEventListener#testConnectionDrop\n.
    For the complete list of flaky tests, see TEST-SUMMARY-FULL 
files.\n{color:green}+1 DISTRO{color}\n.    {color:green}+1{color} distro 
tarball builds with the patch \n\n----------------------------\n{color:red}*-1 
Overall result, please check the reported -1(s)*{color}\n\n\nThe full output of 
the test-patch run is available at\n\n. 
https://builds.apache.org/job/PreCommit-OOZIE-Build/658/\n\n","updateAuthor":{"self":"https://issues.apache.org/jira/rest/api/2/user?username=hadoopqa","name":"hadoopqa","key":"hadoopqa","avatarUrls":{"48x48":"https://issues.apache.org/jira/secure/useravatar?ownerId=hadoopqa&avatarId=10393","24x24":"https://issues.apache.org/jira/secure/useravatar?size=small&ownerId=hadoopqa&avatarId=10393","16x16":"https://issues.apache.org/jira/secure/useravatar?size=xsmall&ownerId=hadoopqa&avatarId=10393","32x32":"https://issues.apache.org/jira/secure/useravatar?size=medium&ownerId=hadoopqa&avatarId=10393"},"displayName":"Hadoop
 
QA","active":true,"timeZone":"Etc/UTC"},"created":"2018-07-06T10:27:07.994+0000","updated":"2018-07-06T10:27:07.994+0000"}
test-patch exit code: 1

Build step 'Execute shell' marked build as failure
[description-setter] Description set: OOZIE-2829
Archiving artifacts
[Fast Archiver] Compressed 1.93 MB of artifacts by 63.1% relative to #656
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) 
##############################
2 tests failed.
FAILED:  org.apache.oozie.tools.TestOozieSharelibCLI.testFakeCommand

Error Message:
opt contains illegal character value ' '

Stack Trace:
java.lang.IllegalArgumentException: opt contains illegal character value ' '
        at 
org.apache.commons.cli.OptionValidator.validateOption(OptionValidator.java:73)
        at org.apache.commons.cli.Option.<init>(Option.java:123)
        at org.apache.commons.cli.Option.<init>(Option.java:105)
        at 
org.apache.oozie.tools.OozieSharelibCLI.createUpgradeOptions(OozieSharelibCLI.java:109)
        at 
org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:125)
        at 
org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:94)
        at 
org.apache.oozie.tools.TestOozieSharelibCLI.execOozieSharelibCLICommands(TestOozieSharelibCLI.java:168)
        at 
org.apache.oozie.tools.TestOozieSharelibCLI.testFakeCommand(TestOozieSharelibCLI.java:102)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
        at 
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.junit.runners.Suite.runChild(Suite.java:127)
        at org.junit.runners.Suite.runChild(Suite.java:26)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)


FAILED:  org.apache.oozie.tools.TestOozieSharelibCLI.testHelpCommand

Error Message:
opt contains illegal character value ' '

Stack Trace:
java.lang.IllegalArgumentException: opt contains illegal character value ' '
        at 
org.apache.commons.cli.OptionValidator.validateOption(OptionValidator.java:73)
        at org.apache.commons.cli.Option.<init>(Option.java:123)
        at org.apache.commons.cli.Option.<init>(Option.java:105)
        at 
org.apache.oozie.tools.OozieSharelibCLI.createUpgradeOptions(OozieSharelibCLI.java:109)
        at 
org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:125)
        at 
org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:94)
        at 
org.apache.oozie.tools.TestOozieSharelibCLI.execOozieSharelibCLICommands(TestOozieSharelibCLI.java:168)
        at 
org.apache.oozie.tools.TestOozieSharelibCLI.testHelpCommand(TestOozieSharelibCLI.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
        at 
org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.junit.runners.Suite.runChild(Suite.java:127)
        at org.junit.runners.Suite.runChild(Suite.java:26)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at 
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

Reply via email to