[jboss-jira] [JBoss JIRA] (WFLY-10349) WeldBundledLibraryDeployment Test cases fail on IBM jdk
Petr Kremensky (JIRA)
issues at jboss.org
Thu May 10 01:37:55 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574033#comment-13574033 ]
Petr Kremensky commented on WFLY-10349:
---------------------------------------
Well, this is quite interesting, I found two testsuite runs with 7.1.0.CR4 build. The tests passed in the [first one|https://url.corp.redhat.com/3cf6ebb] (8.0-4.6), but they failed in the [other|https://url.corp.redhat.com/54dab12] (8.0-5.10). From that I assumed that it's indeed the jdk version difference here to blame, since maven/kernel/bits are the same and this is the only difference I noticed in logs. However I tried to run the tests (latest master) with all available jdk instances in lab [8.0-4.6, 8.0-5.6, 8.0-5.7, 8.0-5.10, 8.0-5.11] and it never pass.
Server log has changed a little bit with the 8.4-4.6, so pasting here, maybe it'll ring someone's bell (didn't google it much so far, that is what I'm going to do next :) ).
{noformat}
09:11:47,573 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."33431faf-3838-4d7a-8d95-fbd37c6cac60.jar".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."33431faf-3838-4d7a-8d95-fbd37c6cac60.jar".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.lang.NoClassDefFoundError: org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:54)
at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:401)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:79)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
... 6 more
Caused by: java.lang.BootstrapMethodError: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
at org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler.<clinit>(ObserverNotifier.java:480)
... 17 more
Caused by: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
at java.lang.invoke.MethodHandles$Lookup.checkClassAccess(MethodHandles.java:371)
at java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:281)
at java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:264)
at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:468)
at java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHandle.java:966)
at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method)
at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:856)
... 18 more
09:11:47,575 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "33431faf-3838-4d7a-8d95-fbd37c6cac60.jar")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".WeldStartService" => "Failed to start service
Caused by: java.lang.NoClassDefFoundError: org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler (initialization failure)
Caused by: java.lang.BootstrapMethodError: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
Caused by: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'"},
"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => [
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".CdiValidatorFactoryService",
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".WeldEndInitService",
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".weld.weldClassIntrospector"
],
"Services that may be the cause:" => ["jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".weld.weldClassIntrospector"]
}
}
09:11:47,576 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "33431faf-3838-4d7a-8d95-fbd37c6cac60.jar" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".WeldStartService" => "Failed to start service
Caused by: java.lang.NoClassDefFoundError: org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler (initialization failure)
Caused by: java.lang.BootstrapMethodError: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'
Caused by: java.lang.IllegalAccessException: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler' no access to: 'org.jboss.weld.event.ObserverNotifier$ObserverExceptionHandler'"},
"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => [
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".CdiValidatorFactoryService",
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".WeldEndInitService",
"jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".weld.weldClassIntrospector"
],
"Services that may be the cause:" => ["jboss.deployment.unit.\"33431faf-3838-4d7a-8d95-fbd37c6cac60.jar\".weld.weldClassIntrospector"]
}
}
{noformat}
> WeldBundledLibraryDeployment Test cases fail on IBM jdk
> -------------------------------------------------------
>
> Key: WFLY-10349
> URL: https://issues.jboss.org/browse/WFLY-10349
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Test Suite
> Environment: {noformat}
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
> Maven home: /usr/lib/maven
> Java version: 1.8.0_161, vendor: IBM Corporation
> Java home: /usr/lib/java/ibm-java-8.0-5.11/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.17-300.fc27.x86_64", arch: "amd64", family: "unix"
> $ git rev-parse --short HEAD
> 11e21f08d3
> {noformat}
> Reporter: Petr Kremensky
> Assignee: Martin Kouba
>
> WeldBundledLibraryDeploymentEarTestCase and WeldBundledLibraryDeploymentTestCase fails on IBM jdk.
> *reproduce*
> {noformat}
> git clone https://github.com/wildfly/wildfly.git ; cd wildfly
> mvn clean install -B -DskipTests
> cd testsuite/integration/basic
> mvn test -Dtest=WeldBundledLibraryDeploymentEarTestCase,WeldBundledLibraryDeploymentTestCase -DtestLogToFile=false
> ...
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR] WeldBundledLibraryDeploymentEarTestCase.org.jboss.as.test.integration.weld.multideployment.WeldBundledLibraryDeploymentEarTestCase » Deployment
> [ERROR] WeldBundledLibraryDeploymentTestCase.org.jboss.as.test.integration.weld.multideployment.WeldBundledLibraryDeploymentTestCase » Deployment
> [INFO]
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> {noformat}
>
> *server log errors*
> {noformat}
> 11:56:22,104 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.extension-index: org.jboss.msc.service.StartException in service jboss.deployment.extension-index: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
> at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:811)
> Caused by: java.lang.NullPointerException
> at org.jboss.as.server.moduleservice.ExtensionIndexService.start(ExtensionIndexService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
> ... 6 more
> 11:56:22,260 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "2b7495c2-60cb-4e65-8c99-4decc85ace30.ear")]) - failure description: {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
> "Services that were unable to start:" => ["jboss.deployment.unit.\"2b7495c2-60cb-4e65-8c99-4decc85ace30.ear\".REGISTER"],
> "Services that may be the cause:" => ["jboss.deployment.unit.\"2b7495c2-60cb-4e65-8c99-4decc85ace30.ear\".REGISTER"]
> }}
> 11:56:22,261 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "2b7495c2-60cb-4e65-8c99-4decc85ace30.ear" was rolled back with the following failure message:
> {"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
> "Services that were unable to start:" => ["jboss.deployment.unit.\"2b7495c2-60cb-4e65-8c99-4decc85ace30.ear\".REGISTER"],
> "Services that may be the cause:" => ["jboss.deployment.unit.\"2b7495c2-60cb-4e65-8c99-4decc85ace30.ear\".REGISTER"]
> }}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list