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

VerifyCACerts.java failed with "At least one cacert test failed"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86, sparc, x86_64, sparc_64
    • OS:
      solaris_11

      Description

      We are seeing lib/security/cacerts/VerifyCACerts.java fail consistently reporting "At least one cacert test failed" when running jdk tests on solaris (build st_035).
      This is seen on both X86 and sparc systems.

      Details:-

      #-----testdescription-----
      $file=/opt/jdk/jdk11local/test/jdk/lib/security/cacerts/VerifyCACerts.java
      $root=/opt/jdk/jdk11local/test/jdk
      keywords=bug8189131 bug8198240 bug8191844 bug8189949 bug8191031 bug8196141 bug8204923 bug8195774 bug8199779 bug8209452 bug8209506
      run=ASSUMED_ACTION main VerifyCACerts\n
      source=VerifyCACerts.java
      title=Check root CA entries in cacerts file

      #-----environment-----

      #-----testresult-----
      description=file\:/opt/jdk/jdk11local/test/jdk/lib/security/cacerts/VerifyCACerts.java
      elapsed=286 0\:00\:00.286
      end=Wed Nov 28 20\:48\:01 UTC 2018
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.Exception\: At least one cacert test failed
      harnessLoaderMode=Classpath Loader
      harnessVariety=Full Bundle
      hostname=spv-t5-2-01-ld8
      javatestOS=SunOS 5.11 (sparcv9)
      javatestVersion=5.0
      jtregVersion=jtreg 4.2 fcs b12
      script=com.sun.javatest.regtest.exec.RegressionScript
      sections=script_messages build compile main
      start=Wed Nov 28 20\:48\:01 UTC 2018
      test=lib/security/cacerts/VerifyCACerts.java
      testJDK=/usr/jdk/jdk-11.0.1
      totalTime=286
      user.name=root
      work=/autohome/jdk.2135926/work/lib/security/cacerts

      #section:script_messages
      ----------messages:(4/191)----------
      JDK under test: /usr/jdk/jdk-11.0.1
      java version "11.0.1" 2018-10-16
      Java(TM) SE Runtime Environment 18.9 (build 11.0.1+0)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+0, mixed mode)

      Verifying addtrustqualifiedca [jdk]
      Checking fingerprint of addtrustqualifiedca [jdk]
      ----------System.err:(13/737)----------
      ERROR: 93 entries, should be 92
      java.lang.Exception: At least one cacert test failed
              at VerifyCACerts.main(VerifyCACerts.java:324)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
              at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: At least one cacert test failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: At least one cacert test failed
      #Test Results (version 2)
      #Wed Nov 28 20:48:01 UTC 2018

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ckavanagh Colin Kavanagh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: