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

[TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • b22

      The following test failed in the jdk/jdk CI:

      runtime/Dictionary/CleanProtectionDomain.java

      Here's a snippet from the log file:

      ----------System.err:(24/1609)----------
       stdout: [[0.316s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639f5a3b0}
      [0.449s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639f8e438}
      [0.508s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639f976e0}
      [0.604s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639fe6548}
      [1.719s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639854a90}
      [2.682s][debug][protectiondomain,table] protection domain added a 'java/security/ProtectionDomain'{0x0000000639f89850}
      ];
       stderr: []
       exitValue = 0

      java.lang.RuntimeException: 'protection domain unlinked' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:151)
      at CleanProtectionDomain.main(CleanProtectionDomain.java:54)
      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:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
      at java.base/java.lang.Thread.run(Thread.java:835)

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

      ----------System.out:(1/954)*----------
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk12-jdk.915\\windows-x64-debug.jdk\\jdk-12\\fastdebug\\bin\\java.exe -cp T:\\testOutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_runtime\\classes\\0\\runtime\\Dictionary\\CleanProtectionDomain.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk12-jdk.915\\src.full\\open\\test\\hotspot\\jtreg\\runtime\\Dictionary;T:\\testOutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_runtime\\classes\\0\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b13\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b13\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\jtreg.jar -Xlog:protectiondomain+table=debug --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. CleanProtectionDomain$Test ]
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'protection domain unlinked' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'protection domain unlinked' missing from stdout/stderr

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: