Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-478

Some tests fail with AttachNotSupportedException for IBM JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 1.1.0.Beta4
    • None
    • None

      Some tests fail with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded on IBM JDK

      Stack trace of exception:

      java.lang.ExceptionInInitializerError
      	at java.lang.J9VMInternals.ensureError(J9VMInternals.java:137)
      	at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:126)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:436)
      	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
      	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
      	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
      	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: java.lang.RuntimeException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
      	at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:82)
      	at mockit.internal.startup.AgentLoader.loadAgent(AgentLoader.java:47)
      	at mockit.internal.startup.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java:27)
      	at mockit.internal.startup.Startup.initializeIfPossible(Startup.java:208)
      	at mockit.integration.junit4.JMockit.<clinit>(JMockit.java:21)
      	... 17 more
      Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
      	at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
      	at mockit.internal.startup.AgentLoader.getVirtualMachineImplementationFromEmbeddedOnes(AgentLoader.java:72)
      	... 21 more
      

      This is probably only test issue.

      Affected tests:
      org.wildfly.security.auth.realm.oauth2.OAuth2SecurityRealmTest
      org.wildfly.security.sasl.digest.CompatibilityClientTest
      org.wildfly.security.sasl.digest.CompatibilityServerTest
      org.wildfly.security.sasl.entity.EntityTest
      org.wildfly.security.sasl.gssapi.compatibility.BasicAuthTest
      org.wildfly.security.sasl.gssapi.compatibility.BasicConfidenceTest
      org.wildfly.security.sasl.gssapi.compatibility.BasicIntegrityTest
      org.wildfly.security.sasl.gssapi.compatibility.NoServerAuthTest
      org.wildfly.security.sasl.otp.OTPTest
      org.wildfly.security.sasl.scram.ScramClientCompatibilityTest
      org.wildfly.security.sasl.scram.ScramServerCompatibilityTest

              Unassigned Unassigned
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: