Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3258

Surefire should not trim stack traces

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • core, tests
    • None

    Description

      The current setting of surefire trims stack traces if it reaches JUnit. This makes debugging harder, because it's not obvious what code path is affected:

      java.io.EOFException: End of File Exception between local host is: "asf918.gq1.ygridcore.net/67.195.81.138"; destination host is: "localhost":35969; : java.io.EOFException; For more details see:  http://wiki.apache.org/hadoop/EOFException
      	at org.apache.oozie.util.TestZKUtilsWithSecurity.setUp(TestZKUtilsWithSecurity.java:36)
      Caused by: java.io.EOFException
      

      We have to see the full trace in order to address problems efficiently.

      Attachments

        1. OOZIE-3258-001.patch
          0.5 kB
          Peter Bacsko

        Activity

          pbacsko Peter Bacsko added a comment -

          gezapeti please check.

          pbacsko Peter Bacsko added a comment - gezapeti please check.
          gezapeti GĂ©zapeti added a comment -

          This will make debugging easier for sure.
          +1 (pending jenkins)

          gezapeti GĂ©zapeti added a comment - This will make debugging easier for sure. +1 (pending jenkins)
          hadoopqa Hadoop QA added a comment -

          PreCommit-OOZIE-Build started

          hadoopqa Hadoop QA added a comment - PreCommit-OOZIE-Build started
          hadoopqa Hadoop QA added a comment -

          Testing JIRA OOZIE-3258

          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 does not introduce any line longer than 132
          . -1 the patch does not add/modify any testcase
          +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 no new bugs found in total.
          . +1 There are no new bugs found in [examples].
          . +1 There are no new bugs found in [webapp].
          . +1 There are no new bugs found in [core].
          . +1 There are no new bugs found in [tools].
          . +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: 2132
          +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/580/

          hadoopqa Hadoop QA added a comment - Testing JIRA OOZIE-3258 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 does not introduce any line longer than 132 . -1 the patch does not add/modify any testcase +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 no new bugs found in total. . +1 There are no new bugs found in [examples] . . +1 There are no new bugs found in [webapp] . . +1 There are no new bugs found in [core] . . +1 There are no new bugs found in [tools] . . +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: 2132 +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/580/
          pbacsko Peter Bacsko added a comment -

          Committed to master.

          pbacsko Peter Bacsko added a comment - Committed to master.
          kmarton Kinga Marton added a comment -

          Closing issue; Oozie 5.1.0 is released.

          kmarton Kinga Marton added a comment - Closing issue; Oozie 5.1.0 is released.

          People

            pbacsko Peter Bacsko
            pbacsko Peter Bacsko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: