[jboss-jira] [JBoss JIRA] (WFCORE-3206) Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)

Jan Kalina (JIRA) issues at jboss.org
Thu Aug 24 07:30:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina deleted WFCORE-3206:
-------------------------------


> Some tests fail with AttachNotSupportedException for IBM JDK (wfcore elytrone module)
> -------------------------------------------------------------------------------------
>
>                 Key: WFCORE-3206
>                 URL: https://issues.jboss.org/browse/WFCORE-3206
>             Project: WildFly Core
>          Issue Type: Bug
>         Environment: java version "1.8.0"
> Java(TM) SE Runtime Environment (build pxa6480sr3fp20-20161019_02(SR3 FP20))
> IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20161013_322271 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_SR3_20161013_1635_B322271
> JIT  - tr.r14.java.green_20161011_125790
> GC   - R28_Java8_SR3_20161013_1635_B322271_CMPRSS
> J9CL - 20161013_322271)
> JCL - 20161018_01 based on Oracle jdk8u111-b14
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>              Labels: ibm-java
>
> org.wildfly.extension.elytron.DomainTestCase#initializationError
> org.wildfly.extension.elytron.SubsystemParsingTestCase#testParseAndMarshalModel_Realms
> org.wildfly.extension.elytron.SaslTestCase#initializationError
> ^ tests from wfcore elytron module fails with DR14 (Core 3.0.0.Beta9) on IBM JDK.
> e.g. org.wildfly.extension.elytron.SaslTestCase.initializationError
> *Error Message*
> {noformat}
> mockit.integration.junit4.JMockit (initialization failure)
> {noformat}
> *Stacktrace*
> {noformat}
> java.lang.NoClassDefFoundError: mockit.integration.junit4.JMockit (initialization failure)
> 	at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
> 	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:437)
> 	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> 	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> 	at org.junit.runner.Computer.getRunner(Computer.java:40)
> 	at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> 	at org.junit.runners.Suite.<init>(Suite.java:81)
> 	at org.junit.runner.Computer.getSuite(Computer.java:28)
> 	at org.junit.runner.Request.classes(Request.java:75)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> 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)
> 	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:437)
> 	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> 	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> 	at org.junit.runner.Computer.getRunner(Computer.java:40)
> 	at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> 	at org.junit.runners.Suite.<init>(Suite.java:81)
> 	at org.junit.runner.Computer.getSuite(Computer.java:28)
> 	at org.junit.runner.Request.classes(Request.java:75)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> 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)
> 	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)
> 	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:437)
> 	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> 	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> 	at org.junit.runner.Computer.getRunner(Computer.java:40)
> 	at org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
> 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> 	at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> 	at org.junit.runners.Suite.<init>(Suite.java:81)
> 	at org.junit.runner.Computer.getSuite(Computer.java:28)
> 	at org.junit.runner.Request.classes(Request.java:75)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:97)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
> 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {noformat}
> *Standard Output*
> {noformat}
> 13:19:14,668 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:16,356 WARN  (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime.  This default setting for standalone operation has been overriden.
> 13:19:16,360 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:19,309 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:19,311 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:19,447 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:19,890 INFO  (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:20,170 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:20,204 INFO  (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:20,206 INFO  (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:20,214 WARN  (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService1'.  Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:20,479 WARN  (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:21,397 INFO  (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11391) is completed.
> 13:19:21,398 INFO  (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> 13:19:21,402 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:104> no custom cache configuration was set, loading the default cache configuration
> 13:19:21,971 WARN  (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1240> ApacheDS shutdown hook has NOT been registered with the runtime.  This default setting for standalone operation has been overriden.
> 13:19:21,972 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named dnCache
> 13:19:22,696 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named alias
> 13:19:22,697 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named piar
> 13:19:22,703 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named system
> 13:19:22,772 INFO  (main) [org.apache.directory.server.core.security.TlsKeyGenerator] <TlsKeyGenerator.java:296> Keys and self signed certificate successfully generated.
> 13:19:23,016 INFO  (main) [org.apache.directory.server.core.api.CacheService] <CacheService.java:156> fetching the cache named groupCache
> 13:19:23,025 INFO  (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:92> Initializing ...
> 13:19:23,025 INFO  (main) [org.apache.directory.server.core.event.EventInterceptor] <EventInterceptor.java:99> Initialization complete.
> 13:19:23,027 WARN  (main) [org.apache.directory.server.core.DefaultDirectoryService] <DefaultDirectoryService.java:1684> You didn't change the admin password of directory service instance 'TestService2'.  Please update the admin password as soon as possible to prevent a possible security breach.
> 13:19:23,181 WARN  (main) [org.apache.directory.server.core.normalization.NormalizationInterceptor] <NormalizationInterceptor.java:477> The Rdn 'm-oid=1.3.6.1.4.1.26782.2.3.4.1' is not present in the entry
> 13:19:23,589 INFO  (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:685> Successful bind of an LDAP Service (11392) is completed.
> 13:19:23,589 INFO  (main) [org.apache.directory.server.ldap.LdapServer] <LdapServer.java:552> Ldap service started.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list