[jboss-jira] [JBoss JIRA] (WFLY-10615) Duplicate layer 'base' in integration/elytron testsuite

Jan Kalina (JIRA) issues at jboss.org
Wed Jun 20 10:53:01 EDT 2018


Jan Kalina created WFLY-10615:
---------------------------------

             Summary: Duplicate layer 'base' in integration/elytron testsuite
                 Key: WFLY-10615
                 URL: https://issues.jboss.org/browse/WFLY-10615
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 13.0.0.Final
            Reporter: Jan Kalina
            Assignee: Jan Kalina


Testsuite wildfly/testsuite/integration/elytron has workarounded module path problem:

{code}
MSC000001: Failed to start service jboss.patching.manager: org.jboss.msc.service.StartException in service jboss.patching.manager: java.lang.IllegalStateException: Duplicate layer 'base'
	at org.jboss.as.patching.installation.InstallationManagerService.start(InstallationManagerService.java:106)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
	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:748)
Caused by: java.lang.IllegalStateException: Duplicate layer 'base'
	at org.jboss.as.patching.installation.LayersFactory$ProcessedLayers.addLayer(LayersFactory.java:305)
	at org.jboss.as.patching.installation.LayersFactory.processRoot(LayersFactory.java:182)
	at org.jboss.as.patching.installation.LayersFactory.process(LayersFactory.java:127)
	at org.jboss.as.patching.installation.LayersFactory.load(LayersFactory.java:86)
	at org.jboss.as.patching.installation.InstallationManagerImpl.<init>(InstallationManagerImpl.java:47)
	at org.jboss.as.patching.installation.InstallationManager.load(InstallationManager.java:185)
	at org.jboss.as.patching.installation.InstallationManagerService.load(InstallationManagerService.java:128)
	at org.jboss.as.patching.installation.InstallationManagerService.start(InstallationManagerService.java:63)
	... 8 more
{code}

This is currently workarounded using following in pom.xml:
{code}
    <!-- let's override the module.path parent configuration with dummy value, to avoid the "IllegalStateException: Duplicate layer 'base'" -->
    <module.path>foo</module.path>
{code}

But this prevent using `org.jboss.as.test.module.util.TestModule`, as it try to put created module into "foo", which fails - blocks adding tests using custom modules.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list