Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13836 Pass the Jakarta EE 9 Platform TCK
  3. WFLY-14014

servlet/pluggability/api/jakarta_servlet/singlethreadmodel/URLClient.java#singleModelTest is failing due to Galleon transformation failure caused by duplicate entry in application deployment

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Server
    • Undefined
    • ---
    • ---

      I think this looks like an Eclipse Transformer level issue:

      2020-10-23 14:40:27,094 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found servlet_plu_sessiontrackingmode_web.war in deployment directory. To trigger deployment create a file called servlet_plu_sessiontrackingmode_web.war.dodeploy
      2020-10-23 14:40:27,110 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0001: Content added at location /mnt/hudson_workspace/customWorkspaceName/wildfly/standalone/data/content/dc/2c4b9f5ba86f8700b974e4cdfdf1e304cf2f46/content
      2020-10-23 14:40:27,113 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "servlet_plu_sessiontrackingmode_web.war" (runtime-name: "servlet_plu_sessiontrackingmode_web.war")
      2020-10-23 14:40:27,265 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 472) WFLYUT0021: Registered web context: '/servlet_plu_sessiontrackingmode_web' for server 'default-server'
      2020-10-23 14:40:27,343 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "servlet_plu_sessiontrackingmode_web.war" (runtime-name : "servlet_plu_sessiontrackingmode_web.war")
      2020-10-23 14:40:37,379 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 471) WFLYUT0022: Unregistered web context: '/servlet_plu_sessiontrackingmode_web' from server 'default-server'
      2020-10-23 14:40:37,393 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment servlet_plu_sessiontrackingmode_web.war (runtime-name: servlet_plu_sessiontrackingmode_web.war) in 15ms
      2020-10-23 14:40:37,416 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0002: Content removed from location /mnt/hudson_workspace/customWorkspaceName/wildfly/standalone/data/content/dc/2c4b9f5ba86f8700b974e4cdfdf1e304cf2f46/content
      2020-10-23 14:40:37,416 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "servlet_plu_sessiontrackingmode_web.war" (runtime-name: "servlet_plu_sessiontrackingmode_web.war")
      2020-10-23 14:40:42,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found servlet_plu_singlethreadmodel_web.war in deployment directory. To trigger deployment create a file called servlet_plu_singlethreadmodel_web.war.dodeploy
      2020-10-23 14:40:42,443 ERROR [stderr] (DeploymentScanner-threads - 1) [DeploymentScanner-threads - 1] ERROR Transformer - Transform failure:
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) org.eclipse.transformer.TransformException: Failure while processing [ com/sun/ts/tests/servlet/api/jakarta_servlet/singlethreadmodel/STMClientServlet$ThreadClient$TestThread.class ] from [ WEB-INF/lib/servlet_plu_singlethreadmodel.jar ]
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ContainerActionImpl.apply(ContainerActionImpl.java:304)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ContainerActionImpl.apply(ContainerActionImpl.java:159)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ContainerActionImpl.apply(ContainerActionImpl.java:262)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ContainerActionImpl.apply(ContainerActionImpl.java:159)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ActionImpl.apply(ActionImpl.java:599)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.Transformer$TransformOptions.transform(Transformer.java:1371)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.Transformer.run(Transformer.java:1464)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:115)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:96)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:65)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:40)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.galleon.plugin.transformer.JakartaTransformer.transform(JakartaTransformer.java:98)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.ee8to9.transformer.DeploymentTransformer.transform(DeploymentTransformer.java:40)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.server.deployment.DeploymentAddHandler.addFromContentAdditionParameter(DeploymentAddHandler.java:220)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:137)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1005)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:744)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1415)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:431)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:248)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:248)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.executeInModelControllerCl(ModelControllerClientFactoryImpl.java:259)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.lambda$runOperation$0(ModelControllerClientFactoryImpl.java:249)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63)
      2020-10-23 14:40:42,444 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.SecurityActions$InVmActions$2.lambda$runInVm$0(SecurityActions.java:162)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.security.AccessController.doPrivileged(Native Method)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.SecurityActions$InVmActions$2.runInVm(SecurityActions.java:162)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.SecurityActions.runInVm(SecurityActions.java:49)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.runOperation(ModelControllerClientFactoryImpl.java:249)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.access$600(ModelControllerClientFactoryImpl.java:114)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient$2.run(ModelControllerClientFactoryImpl.java:203)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.lang.Thread.run(Thread.java:748)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.jboss.threads.JBossThread.run(JBossThread.java:513)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) Caused by: java.util.zip.ZipException: duplicate entry: com/sun/ts/tests/servlet/api/jakarta_servlet/singlethreadmodel/STMClientServlet$ThreadClient$TestThread.class
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	at org.eclipse.transformer.action.impl.ContainerActionImpl.apply(ContainerActionImpl.java:282)
      2020-10-23 14:40:42,445 ERROR [stderr] (DeploymentScanner-threads - 1) 	... 41 more
      2020-10-23 14:40:42,445 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "servlet_plu_singlethreadmodel_web.war")]): java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Error occured during transformation. Error code 3
      	at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:55)
      	at org.wildfly.galleon.plugin.transformer.JakartaTransformer.transform(JakartaTransformer.java:98)
      	at org.wildfly.ee8to9.transformer.DeploymentTransformer.transform(DeploymentTransformer.java:40)
      	at org.jboss.as.server.deployment.DeploymentAddHandler.addFromContentAdditionParameter(DeploymentAddHandler.java:220)
      	at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:137)
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1005) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:744) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1415) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:431) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:248) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304) [wildfly-elytron-auth-server-1.13.1.Final.jar:1.13.1.Final]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270) [wildfly-elytron-auth-server-1.13.1.Final.jar:1.13.1.Final]
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:248) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.executeInModelControllerCl(ModelControllerClientFactoryImpl.java:259) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.lambda$runOperation$0(ModelControllerClientFactoryImpl.java:249) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.SecurityActions$InVmActions$2.lambda$runInVm$0(SecurityActions.java:162) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_191]
      	at org.jboss.as.controller.SecurityActions$InVmActions$2.runInVm(SecurityActions.java:162) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.SecurityActions.runInVm(SecurityActions.java:49) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.runOperation(ModelControllerClientFactoryImpl.java:249) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.access$600(ModelControllerClientFactoryImpl.java:114) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient$2.run(ModelControllerClientFactoryImpl.java:203) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_191]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_191]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.8.0_191]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.8.0_191]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_191]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_191]
      	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:513) [jboss-threads-2.4.0.Final.jar:2.4.0.Final]
      Caused by: java.lang.RuntimeException: java.io.IOException: Error occured during transformation. Error code 3
      	at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:98)
      	at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:65)
      	at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:40)
      	... 31 more
      Caused by: java.io.IOException: Error occured during transformation. Error code 3
      	at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:117)
      	at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:96)
      	... 33 more
      
      2020-10-23 14:40:52,491 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found servlet_plu_srattributeevent_web.war in deployment directory. To trigger deployment create a file called servlet_plu_srattributeevent_web.war.dodeploy
      2
      

      To recreate:

      cd yourTCKFolder
      export wildflytckroot=$PWD
      export testFolder=servlet/pluggability/api/jakarta_servlet/singlethreadmodel
      tck9.sh 2>&1 | tee /tmp/tckservlet.txt

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: