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

Duplicate layer 'base' in clustering testsuite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 14.0.0.Beta2
    • 13.0.0.Final
    • Clustering
    • None

      When starting infinispan-server, following error occures in testsuite/integration/clustering/target/infinispan-server-9.2.5.Final log:

      2018-06-24 23:41:55,844 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) 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:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	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)
      	... 5 more
      

      The reason is following value in module.path:

      module.path = /home/jkalina/work/wildfly/testsuite/integration/clustering/target/infinispan-server-9.2.5.Final/modules:/home/jkalina/work/wildfly/build/target/wildfly-14.0.0.Beta1-SNAPSHOT/modules:/home/jkalina/work/wildfly/testsuite/integration/clustering/target/modules
      

      (there are two paths with "base" layer - infinispan-server/modules and wildfly/modules)

      Probably should be set modulePath in arquillian.xml to prevent using wildfly modules in infinispan. (they are actually ignored currently, just to remove related warning from log)

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

                Created:
                Updated:
                Resolved: