Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8152241

TestSerialVersionUID.java intermittently fails

    Details

      Description

      langtools/test/jdk/javadoc/doclet/testSerialVersionUID/TestSerialVersionUID.java failed due to javadoc: error - jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException: java.lang.AssertionError

      the test failed w/ '-Xcomp -server -ea -esa -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:ReservedCodeCacheSize=256M'

      ----------System.out:(25/957)----------
      Running test test
      Running javadoc...
      args: [-d, out, /scratch/local/aurora/CommonData/j2se_jdk/langtools/test/jdk/javadoc/doclet/testSerialVersionUID/C.java]
      javadoc OUT:
      Loading source file /scratch/local/aurora/CommonData/j2se_jdk/langtools/test/jdk/javadoc/doclet/testSerialVersionUID/C.java...
      Constructing Javadoc information...
      Creating destination directory: "out/"
      Standard Doclet (Next) version 9-ea
      Building tree for all the packages and classes...
      Generating out/C.html...
      Generating out/package-frame.html...
      Generating out/package-summary.html...
      Generating out/package-tree.html...
      Generating out/constant-values.html...
      Generating out/serialized-form.html...
      javadoc: error - jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException: java.lang.AssertionError
      1 error

      Starting subtest 1: check exit code
      FAILED: return code 1; expected 0 (OK)
      Starting subtest 2: checkOutput
      FAILED: serialized-form.html: not found:
      -111111111111111L
      1. TestSerialVersionUID.jtr
        18 kB
        Andrey Nazarov
      2. TestSerialVersionUID.jtr.txt
        11 kB
        Andrey Nazarov

        Issue Links

          Activity

          Hide
          sadayapalam Srikanth Adayapalam added a comment -
          Thanks Andrey & Kumar.

          After the fix for JDK-8132446, this has not been seen so far. The fix for
          JDK-8132446 addressed very related symptoms, though there is no way
          to conclude as of now that the symptoms are identical.

          If the problem is seen to resurface, please reopen the ticket - I don't
          think the P2 assignment is justified/useful though. I concur with John's
          earlier observation about javadoc invocations with the special options
          being an unlikely scenario.

           
          Show
          sadayapalam Srikanth Adayapalam added a comment - Thanks Andrey & Kumar. After the fix for JDK-8132446 , this has not been seen so far. The fix for JDK-8132446 addressed very related symptoms, though there is no way to conclude as of now that the symptoms are identical. If the problem is seen to resurface, please reopen the ticket - I don't think the P2 assignment is justified/useful though. I concur with John's earlier observation about javadoc invocations with the special options being an unlikely scenario.  
          Hide
          jjg Jonathan Gibbons added a comment - - edited
          Note that exception handling in the new javadoc doclet has been rewritten and that DocletAbortException has gone away.

          I'm not saying that will fix the problem, but if the problem was unrelated it will presumably now manifest itself differently.

          A DAE(AssertionError) would now likely manifest itself as a crash message reporting an AssertionError.

          We've seen Hotspot errors in the past causing "impossible" AssertionErrors. Given the unusual command line options, my money is on something like that.


          Show
          jjg Jonathan Gibbons added a comment - - edited Note that exception handling in the new javadoc doclet has been rewritten and that DocletAbortException has gone away. I'm not saying that will fix the problem, but if the problem was unrelated it will presumably now manifest itself differently. A DAE(AssertionError) would now likely manifest itself as a crash message reporting an AssertionError. We've seen Hotspot errors in the past causing "impossible" AssertionErrors. Given the unusual command line options, my money is on something like that.
          Hide
          sadayapalam Srikanth Adayapalam added a comment -
          Too much has changed in the landscape. If this is seen again, please attach complete jtr files so this can be analyzed afresh
          Show
          sadayapalam Srikanth Adayapalam added a comment - Too much has changed in the landscape. If this is seen again, please attach complete jtr files so this can be analyzed afresh
          Hide
          sadayapalam Srikanth Adayapalam added a comment -
          @Andrey Nazarov, did you observe this problem since the last instance in Sep 2016 ??
          Show
          sadayapalam Srikanth Adayapalam added a comment - @Andrey Nazarov, did you observe this problem since the last instance in Sep 2016 ??
          Hide
          sadayapalam Srikanth Adayapalam added a comment -
          Still don't have a test case to chew on. I am inclined to think given the sporadic/intermittent nature of the failure, it is a setup/environment issue. Deferring to 10.
          Show
          sadayapalam Srikanth Adayapalam added a comment - Still don't have a test case to chew on. I am inclined to think given the sporadic/intermittent nature of the failure, it is a setup/environment issue. Deferring to 10.

            People

            • Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              iignatyev Igor Ignatyev
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: