Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17698

MicroProfileConfigConvertersTestCase and ConfigSourceFromClassTestCase fails in Windows platform

XMLWordPrintable

    • Hide

      In a Windows platform, open a power shell terminal, run:

      PS F:\sources\wildfly> cd .\testsuite\integration\microprofile\
      PS F:\sources\wildfly\testsuite\integration\microprofile> mvn clean install -Dtest=MicroProfileConfigConvertersTestCase
      [INFO] Scanning for projects...
      [INFO]
      [INFO] -------------< org.wildfly:wildfly-ts-integ-microprofile >--------------
      [INFO] Building WildFly Test Suite: Integration - MicroProfile 28.0.0.Beta1-SNAPSHOT
      

      then you will get the following failure:

       [INFO] --- maven-surefire-plugin:2.22.2:test (standalone-enabled-microprofile-test) @ wildfly-ts-integ-microprofile ---
      [WARNING] The system property jboss.dist is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property.
      [INFO]
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.78 s <<< FAILURE! - in org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase
      [ERROR] org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase  Time elapsed: 6.78 s  <<< ERROR!
      org.jboss.arquillian.container.spi.client.container.DeploymentException:
      Cannot deploy MicroProfileConfigConvertersTestCase.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"MicroProfileConfigConvertersTestCase.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"MicroProfileConfigConvertersTestCase.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations
          Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}}}
              at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:184)
              at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:162)
              at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:91)
              at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:256)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:151)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:118)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:239)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:118)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
              at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:71)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
              at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:54)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
              at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:47)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
              at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:92)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:77)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:232)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:212)
              at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:77)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
              at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)
              at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:96)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
              at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
              at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
              at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:89)
              at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:163)
              at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350)
              at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
              at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
              at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      
      [INFO]
      [INFO] Results:
      [INFO]
      

      and you can see the following exception in the server log:

      12:10:07,210 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "MicroProfileConfigConvertersTestCase.war" (runtime-name: "MicroProfileConfigConvertersTestCase.war")
      12:10:07,272 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."MicroProfileConfigConvertersTestCase.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MicroProfileConfigConvertersTestCase.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "MicroProfileConfigConvertersTestCase.war"
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
              at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1590)
              at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1553)
              at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1411)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
              at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.indexModule(AnnotationIndexSupport.java:125)
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.getAnnotationIndices(AnnotationIndexSupport.java:77)
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:126)
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
              ... 8 more
      Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters
              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:301)
              at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.indexModule(AnnotationIndexSupport.java:111)
              ... 11 more
      
      12:10:07,276 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "MicroProfileConfigConvertersTestCase.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"MicroProfileConfigConvertersTestCase.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"MicroProfileConfigConvertersTestCase.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations
          Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}
      12:10:07,278 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "MicroProfileConfigConvertersTestCase.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"MicroProfileConfigConvertersTestCase.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"MicroProfileConfigConvertersTestCase.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations
          Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}
      12:10:07,284 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "MicroProfileConfigConvertersTestCase.war" was rolled back with the following failure message:
      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"MicroProfileConfigConvertersTestCase.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"MicroProfileConfigConvertersTestCase.war\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations
          Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}
      
      Show
      In a Windows platform, open a power shell terminal, run: PS F:\sources\wildfly> cd .\testsuite\integration\microprofile\ PS F:\sources\wildfly\testsuite\integration\microprofile> mvn clean install -Dtest=MicroProfileConfigConvertersTestCase [INFO] Scanning for projects... [INFO] [INFO] -------------< org.wildfly:wildfly-ts-integ-microprofile >-------------- [INFO] Building WildFly Test Suite: Integration - MicroProfile 28.0.0.Beta1-SNAPSHOT then you will get the following failure: [INFO] --- maven-surefire-plugin:2.22.2:test (standalone-enabled-microprofile-test) @ wildfly-ts-integ-microprofile --- [WARNING] The system property jboss.dist is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.78 s <<< FAILURE! - in org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase [ERROR] org.wildfly.test.integration.microprofile.config.smallrye.converter.MicroProfileConfigConvertersTestCase Time elapsed: 6.78 s <<< ERROR! org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy MicroProfileConfigConvertersTestCase.war: { "WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => { "Operation step-1" => { "WFLYCTL0080: Failed services" => { "jboss.deployment.unit.\" MicroProfileConfigConvertersTestCase.war\ ".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \" MicroProfileConfigConvertersTestCase.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}}} at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:184) at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:162) at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:91) at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:256) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController $3 .call(ContainerDeployController.java:151) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController $3 .call(ContainerDeployController.java:118) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:239) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:118) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:71) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController $1 .perform(ContainerDeployController.java:92) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController $1 .perform(ContainerDeployController.java:77) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:232) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:212) at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:77) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:96) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90) at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:133) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:89) at org.jboss.arquillian.junit.Arquillian $2 .evaluate(Arquillian.java:163) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350) at org.jboss.arquillian.junit.Arquillian.access $200 (Arquillian.java:54) at org.jboss.arquillian.junit.Arquillian $3 .evaluate(Arquillian.java:177) at org.junit.runners.ParentRunner $3 .evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] [INFO] Results: [INFO] and you can see the following exception in the server log: 12:10:07,210 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "MicroProfileConfigConvertersTestCase.war" (runtime-name: "MicroProfileConfigConvertersTestCase.war" ) 12:10:07,272 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit. "MicroProfileConfigConvertersTestCase.war" .PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit. "MicroProfileConfigConvertersTestCase.war" .PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "MicroProfileConfigConvertersTestCase.war" at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189) at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl $StartTask .startService(ServiceControllerImpl.java:1590) at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl $StartTask .execute(ServiceControllerImpl.java:1553) at org.jboss.msc@1.5.0.Beta5//org.jboss.msc.service.ServiceControllerImpl $ControllerTask .run(ServiceControllerImpl.java:1411) at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor $ThreadBody .doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor $ThreadBody .run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.indexModule(AnnotationIndexSupport.java:125) at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.getAnnotationIndices(AnnotationIndexSupport.java:77) at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.CompositeIndexProcessor.deploy(CompositeIndexProcessor.java:126) at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182) ... 8 more Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:301) at org.jboss.as.server@20.0.0.Beta6//org.jboss.as.server.deployment.annotation.AnnotationIndexSupport.indexModule(AnnotationIndexSupport.java:111) ... 11 more 12:10:07,276 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ( "add" ) failed - address: ([( "deployment" => "MicroProfileConfigConvertersTestCase.war" )]) - failure description: { "WFLYCTL0080: Failed services" => { "jboss.deployment.unit.\" MicroProfileConfigConvertersTestCase.war\ ".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \" MicroProfileConfigConvertersTestCase.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}} 12:10:07,278 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ( "add" ) failed - address: ([( "deployment" => "MicroProfileConfigConvertersTestCase.war" )]) - failure description: { "WFLYCTL0080: Failed services" => { "jboss.deployment.unit.\" MicroProfileConfigConvertersTestCase.war\ ".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \" MicroProfileConfigConvertersTestCase.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}} 12:10:07,284 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "MicroProfileConfigConvertersTestCase.war" was rolled back with the following failure message: { "WFLYCTL0080: Failed services" => { "jboss.deployment.unit.\" MicroProfileConfigConvertersTestCase.war\ ".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \" MicroProfileConfigConvertersTestCase.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0286: Failed to index static module test.custom-config-converters for annotations Caused by: org.jboss.modules.ModuleNotFoundException: test.custom-config-converters"}}
    • ---
    • ---

      MicroProfileConfigConvertersTestCase and ConfigSourceFromClassTestCase from last main branch fails in Windows platform.

      There is a [CI job|https://ci.wildfly.org/buildConfiguration/WF_PullRequest_WindowsJdk11/353320?buildTab=overview&hideProblemsFromDependencies=false&expandBuildTestsSection=true&hideTestsFromDependencies=false&expandBuildChangesSection=true discovering this error.

      There are 2 executions for MicroProfileConfigConvertersTestCase, the first round of execution passed, but leaving the custom test module file not deleted, and the 2nd execution fails to export the module resource archive.

            rhn-engineering-lgao Lin Gao
            rhn-engineering-lgao Lin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: