Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9753

mockit.internal.startup.Startup.instrumentation causes test failures on Solaris, HP-UX and RHEL-ibm_jdk (wf core elytron module tests)

XMLWordPrintable

      List of affected test cases (33 new test failures with DR14 - Core 3.0.0.Beta9) on HP-UX and Solaris boxes:

      org.wildfly.extension.elytron.DomainTestCase
      org.wildfly.extension.elytron.SaslTestCase
      org.wildfly.extension.elytron.SubsystemParsingTestCase
      

      e.g. org.wildfly.extension.elytron.DomainTestCase.testDefaultRealmIdentity
      Stacktrace

      java.lang.AssertionError: null
      	at mockit.internal.startup.Startup.instrumentation(Startup.java:128)
      	at mockit.internal.startup.Startup.retransformClass(Startup.java:231)
      	at mockit.internal.state.CachedClassfiles.getClassfile(CachedClassfiles.java:95)
      	at mockit.internal.ClassFile.createReaderOrGetFromCache(ClassFile.java:60)
      	at mockit.internal.mockups.MockMethodCollector.collectMockMethods(MockMethodCollector.java:39)
      	at mockit.internal.mockups.MockClassSetup.<init>(MockClassSetup.java:38)
      	at mockit.MockUp.redefineMethods(MockUp.java:228)
      	at mockit.MockUp.redefineClassOrImplementInterface(MockUp.java:211)
      	at mockit.MockUp.<init>(MockUp.java:128)
      	at org.wildfly.extension.elytron.TestEnvironment$ClassLoadingAttributeDefinitionsMock.<init>(TestEnvironment.java:101)
      	at org.wildfly.extension.elytron.TestEnvironment$ClassLoadingAttributeDefinitionsMock.<init>(TestEnvironment.java:101)
      	at org.wildfly.extension.elytron.TestEnvironment.mockCallerModuleClassloader(TestEnvironment.java:109)
      	at org.wildfly.extension.elytron.DomainTestCase.init(DomainTestCase.java:80)
      	at org.wildfly.extension.elytron.DomainTestCase.testDefaultRealmIdentity(DomainTestCase.java:89)
      

      Standard Output

      06:25:39,607 DEBUG (main) [org.wildfly.extension.elytron.CredentialStoreUtility] <CredentialStoreUtility.java:87> Credential Store created [target/tlstest.keystore] with master password "super_secret"
      

      HP-UX DR14 core testsuite build

              jkalina@redhat.com Jan Kalina (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: