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

###################################################################################
########################## LAST 100 LINES OF THE CONSOLE 
###########################
[...truncated 1.77 MB...]
[TRACE] Full summary file size is 8278 bytes
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar]
 removed
[TRACE] File 
[/home/jenkins/jenkins-slave/workspace/PreCommit-OOZIE-Build/test-patch/tmp/FINDBUGS_DIFF/diff/findbugs-diff-0.1.0-all.jar.md5sum]
 removed
  Running test-patch task BACKWARDS_COMPATIBILITY
  Running test-patch task TESTS
  Running test-patch task DISTRO


Testing JIRA OOZIE-3229

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 21 line(s) longer than 132 characters
    +1 the patch adds/modifies 1 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)
    WARNING: the current HEAD has 100 Javadoc warning(s)
    +1 the patch does not seem to introduce new 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 [25] 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 [webapp].
 -1 There are [25] new bugs found below threshold in [core] that must be fixed, 
listing only the first [5] ones.
 You can find the FindBugs diff here (look for the red and orange ones): 
core/findbugs-new.html
 The top [5] most important FindBugs errors are:
 At SLASummaryGetForFilterJPAExecutor.java:[line 619]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualEndEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualEndEnd
 At SLASummaryGetForFilterJPAExecutor.java:[line 611]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualEndStart()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualEndStart
 At SLASummaryGetForFilterJPAExecutor.java:[line 603]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualStartEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualStartEnd
 At SLASummaryGetForFilterJPAExecutor.java:[line 595]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualStartStart()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualStartStart
 At SLASummaryGetForFilterJPAExecutor.java:[line 555]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getCreatedEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.createdEnd
 +1 There are no new bugs found in [tools].
 +1 There are no new bugs found in [fluent-job/fluent-job-api].
 +1 There are no new bugs found in [server].
 +1 There are no new bugs found in [docs].
 +1 There are no new bugs found in [sharelib/hive2].
 +1 There are no new bugs found in [sharelib/pig].
 +1 There are no new bugs found in [sharelib/streaming].
 +1 There are no new bugs found in [sharelib/hive].
 +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/distcp].
 +1 There are no new bugs found in [sharelib/spark].
 +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: 2908
    Tests failed: 1
    Tests errors: 0

    The patch failed the following testcases:

testBundleSLA(org.apache.oozie.servlet.TestV2SLAServlet)

    Tests failing with errors:


+1 DISTRO
    +1 distro tarball builds with the patch 

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

 There is at least one warning, please check

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

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

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 --:--:-- --:--:-- --:--:--     
0100  4819    0     0  100  4819      0   5530 --:--:-- --:--:-- --:--:--  
5526{"self":"https://issues.apache.org/jira/rest/api/2/issue/13155493/comment/16559657","id":"16559657","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-3229\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 21 line(s) 
longer than 132 characters\n.    {color:green}+1{color} the patch adds/modifies 
1 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:red}WARNING{color}: the current HEAD has 100 Javadoc warning(s)\n.    
{color:green}+1{color} the patch does not seem to introduce new 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 [25] 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 
[webapp].\n. {color:red}-1{color} There are [25] new bugs found below threshold 
in [core] that must be fixed, listing only the first [5] ones.\n. You can find 
the FindBugs diff here (look for the red and orange ones): 
core/findbugs-new.html\n. The top [5] most important FindBugs errors are:\n. At 
SLASummaryGetForFilterJPAExecutor.java:[line 619]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualEndEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualEndEnd\n. At 
SLASummaryGetForFilterJPAExecutor.java:[line 611]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualEndStart()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualEndStart\n. At 
SLASummaryGetForFilterJPAExecutor.java:[line 603]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualStartEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualStartEnd\n. At 
SLASummaryGetForFilterJPAExecutor.java:[line 595]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getActualStartStart()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.actualStartStart\n. At 
SLASummaryGetForFilterJPAExecutor.java:[line 555]: 
org.apache.oozie.executor.jpa.sla.SLASummaryGetForFilterJPAExecutor.getCreatedEnd()
 may expose internal representation by returning 
SLASummaryGetForFilterJPAExecutor.createdEnd\n. {color:green}+1{color} There 
are no new bugs found in [tools].\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 [server].\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 
[sharelib/hive2].\n. {color:green}+1{color} There are no new bugs found in 
[sharelib/pig].\n. {color:green}+1{color} There are no n100 11014    0  6195  
100  4819   7105   5527 --:--:-- --:--:-- --:--:--  7104
ew bugs found in [sharelib/streaming].\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/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/distcp].\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 [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.    {color:green}+1{color} the 
patch does not modify JPA files\n{color:red}-1 TESTS{color}\n.    Tests run: 
2908\n.    Tests failed: 1\n.    Tests errors: 0\n\n.    The patch failed the 
following 
testcases:\n\ntestBundleSLA(org.apache.oozie.servlet.TestV2SLAServlet)\n\n.    
Tests failing with errors:\n\n\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{color:red}. There is at least one warning, 
please check{color}\n\nThe full output of the test-patch run is available 
at\n\n. 
https://builds.apache.org/job/PreCommit-OOZIE-Build/693/\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-27T12:11:09.096+0000","updated":"2018-07-27T12:11:09.096+0000"}
test-patch exit code: 1

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



###################################################################################
############################## FAILED TESTS (if any) 
##############################
1 tests failed.
FAILED:  org.apache.oozie.servlet.TestV2SLAServlet.testBundleSLA

Error Message:
expected:<200> but was:<500>

Stack Trace:
junit.framework.AssertionFailedError: expected:<200> but was:<500>
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.Assert.failNotEquals(Assert.java:329)
        at junit.framework.Assert.assertEquals(Assert.java:78)
        at junit.framework.Assert.assertEquals(Assert.java:234)
        at junit.framework.Assert.assertEquals(Assert.java:241)
        at junit.framework.TestCase.assertEquals(TestCase.java:409)
        at 
org.apache.oozie.servlet.TestV2SLAServlet.getSLAJSONResponse(TestV2SLAServlet.java:366)
        at 
org.apache.oozie.servlet.TestV2SLAServlet.access$100(TestV2SLAServlet.java:55)
        at 
org.apache.oozie.servlet.TestV2SLAServlet$2.call(TestV2SLAServlet.java:270)
        at 
org.apache.oozie.servlet.TestV2SLAServlet$2.call(TestV2SLAServlet.java:198)
        at 
org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:94)
        at 
org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:67)
        at 
org.apache.oozie.servlet.TestV2SLAServlet.testBundleSLA(TestV2SLAServlet.java:198)
        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 junit.framework.TestCase.runTest(TestCase.java:176)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        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.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        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 
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.apache.maven.surefire.junitcore.pc.ParallelComputerBuilder$PC$1.run(ParallelComputerBuilder.java:593)
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
        at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:159)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407)

Reply via email to