JDK-8152586 : com/sun/jdi/InterfaceMethodsTest.java fails in hs nightly
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: solaris_11
  • Submitted: 2016-03-23
  • Updated: 2016-04-08
  • Resolved: 2016-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8152719 :  
Description
com/sun/jdi/InterfaceMethodsTest.java fails in hs nightly on Solaris amd64 with "java.lang.Exception: InterfaceMethodsTest: failed"
Comments
The following test is also impacted by this bug: com/sun/jdi/InvokeTest.java
08-04-2016

I'm closing this bug as dup of: https://bugs.openjdk.java.net/browse/JDK-8152686 The anti-delta of the JDK-4858370 resolved the issue, and the test com/sun/jdi/InterfaceMethodsTest.java did not fail in 1000 runs.
07-04-2016

This test failure was initially appeared in the nightly that used the JPRT build: http://sthjprt.se.oracle.com/archives/2016/03/2016-03-22-190619.egahlin.product I've removed most of the previous details in this comment as it seems, I took a wrong path. There was an error in my logical speculations, sorry. My investigation is continued with the corrected path. The main suspect to cause this regression is again the fix of JDK-4858370. Dan is in process to back it out.
07-04-2016

We agreed with Dmitry to re-assign this bug to me.
05-04-2016

It is possible the JDK-8152686 has the same root cause. It has to be proven first and then this bug can be closed as dup of the JDK-8152686.
31-03-2016

[deleted fragment of my analysis as it was not correct] All manifestations are not clear what exact Exception was thrown. And there is no detailed error message. The only message we see is: "Exception occurred in target VM". This is a fragment of the log posted by Rachel: --- FAILED [5632ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.defaultMethodC()I with target of type InterfaceMethodsTest$InterfaceA [5632ms] Invoking method: InterfaceMethodsTest$InterfaceA.defaultMethodC() [5632ms] interface InterfaceMethodsTest$InterfaceA (loaded by instance of sun.misc.Launcher$AppClassLoader(id=101)) [5667ms] return val = 1 [5667ms] defaultMethodC return value matches: 1 A failure fragment by the link posted by Dmitry has multiple error messages: --- FAILED [1134ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.classMethod()I with target of type InterfaceMethodsTest$TargetClass [1134ms] Invoking method: InterfaceMethodsTest$TargetClass.classMethod() [1134ms] class InterfaceMethodsTest$TargetClass (loaded by instance of sun.misc.Launcher$AppClassLoader(id=101)) --- FAILED [1135ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.implementedMethod()I with target of type InterfaceMethodsTest$TargetClass [1135ms] Invoking method: InterfaceMethodsTest$TargetClass.implementedMethod() [1135ms] class InterfaceMethodsTest$TargetClass (loaded by instance of sun.misc.Launcher$AppClassLoader(id=101)) --- FAILED [1136ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.staticMethodA()I with target of type InterfaceMethodsTest$TargetClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . --- FAILED [1147ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.defaultMethodC()I with target of type InterfaceMethodsTest$InterfaceA [1148ms] Invoking method: InterfaceMethodsTest$InterfaceA.defaultMethodC() [1148ms] interface InterfaceMethodsTest$InterfaceA (loaded by instance of sun.misc.Launcher$AppClassLoader(id=101)) --- FAILED [1149ms] FAILED: Invocation failed with error message Exception occurred in target VM Invoking: InterfaceMethodsTest$TargetClass.defaultMethodD()I with target of type InterfaceMethodsTest$InterfaceA The test needs to be modified to get more details out of the failures. Also, we need this issue to get reproducible.
31-03-2016

[ to Jesper: ] The test was added to the ProblemList by Coleen, so it is not going to fail in JPRT until fixed and removed from the ProblemList.
31-03-2016

For the record, this has been failing before the Jigsaw integration but now fails very consistently.
24-03-2016

ILW = H(nightly failure, integration blocker)L(seen once)H(no workaround) = P2
24-03-2016