[jboss-jira] [JBoss JIRA] (AS7-3262) Fix Domain CLI Tests (CLITestSuite)
Brian Stansberry (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Jan 10 12:59:09 EST 2012
[ https://issues.jboss.org/browse/AS7-3262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654963#comment-12654963 ]
Brian Stansberry commented on AS7-3262:
---------------------------------------
>From the test log:
[CLI-out] [domain at localhost:9999 /] deploy --all-server-groups /tmp/SimpleServlet.war
[CLI-inp] deploy --all-server-groups /tmp/SimpleServlet.war
[Host Controller] 12:13:47,878 INFO [org.jboss.as.server.deployment.repository.impl] (management-handler-threads - 4) JBAS014900: Content added at location /home/jenkins/jenkins-work/workspace/as7-param-pull/testsuite/domain/target/domains/CLITestSuite/master/content/da/39a3ee5e6b4b0d3255bfef95601890afd80709/content
[Server:main-one] 12:13:48,309 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "SimpleServlet.war"
[Server:main-three] 12:13:48,316 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "SimpleServlet.war"
[Server:other-two] 12:13:48,319 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting deployment of "SimpleServlet.war"
[Server:main-one] 12:13:48,349 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "SimpleServlet.war"
[Server:main-one] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:main-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:main-one] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
[Server:main-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
[Server:main-one] at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
[Server:main-one] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
[Server:main-one] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-one] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-one] ... 5 more
[Server:main-one] Caused by: java.util.zip.ZipException: error in opening zip file
[Server:main-one] at java.util.zip.ZipFile.open(Native Method) [:1.6.0_29]
[Server:main-one] at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_29]
[Server:main-one] at java.util.zip.ZipFile.<init>(ZipFile.java:143) [:1.6.0_29]
[Server:main-one] at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:845) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-one] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-one] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-one] at org.jboss.as.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:73) [jboss-as-deployment-repository-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-one] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-one] ... 6 more
[Server:main-one]
[Server:other-two] 12:13:48,345 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "SimpleServlet.war"
[Server:other-two] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:other-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:other-two] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:other-two] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
[Server:other-two] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
[Server:other-two] at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
[Server:other-two] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
[Server:other-two] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:other-two] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:other-two] ... 5 more
[Server:other-two] Caused by: java.util.zip.ZipException: error in opening zip file
[Server:other-two] at java.util.zip.ZipFile.open(Native Method) [:1.6.0_29]
[Server:other-two] at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_29]
[Server:other-two] at java.util.zip.ZipFile.<init>(ZipFile.java:143) [:1.6.0_29]
[Server:other-two] at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:845) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:other-two] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:other-two] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:other-two] at org.jboss.as.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:73) [jboss-as-deployment-repository-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:other-two] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:other-two] ... 6 more
[Server:other-two]
[Server:main-three] 12:13:48,351 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."SimpleServlet.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "SimpleServlet.war"
[Server:main-three] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-three] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:main-three] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
[Server:main-three] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
[Server:main-three] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
[Server:main-three] at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
[Server:main-three] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
[Server:main-three] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-three] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-three] ... 5 more
[Server:main-three] Caused by: java.util.zip.ZipException: error in opening zip file
[Server:main-three] at java.util.zip.ZipFile.open(Native Method) [:1.6.0_29]
[Server:main-three] at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_29]
[Server:main-three] at java.util.zip.ZipFile.<init>(ZipFile.java:143) [:1.6.0_29]
[Server:main-three] at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:845) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-three] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-three] at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567) [jboss-vfs-3.1.0.CR1.jar:3.1.0.CR1]
[Server:main-three] at org.jboss.as.server.deployment.repository.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:73) [jboss-as-deployment-repository-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-three] at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
[Server:main-three] ... 6 more
[Server:main-three]
All 3 servers have a problem with the zip file. At least one is running with the master HC as its HC, which means it's trying to use the copy of the deployment content that was uploaded to that HC by the CLI. That is, there is no intermediate HC-to-HC transmission of the file. That indicates that the issue is with the upload of the content to the master HC itself.
Whether this is a bug in the CLI, the master HC or is a problem in the preparation of the original deployment file itself by the test fixture is unclear.
> Fix Domain CLI Tests (CLITestSuite)
> -----------------------------------
>
> Key: AS7-3262
> URL: https://issues.jboss.org/browse/AS7-3262
> Project: Application Server 7
> Issue Type: Feature Request
> Reporter: Kabir Khan
> Assignee: Dominik Pospisil
> Priority: Critical
>
> These fail frequently when running the full testsuite with
> {code}
> testDeployRedeployUndeploy(org.jboss.as.test.integration.domain.management.cli.DeploySingleServerGroupTestCase) Time elapsed: 5.018 sec <<< ERROR!
> java.lang.Exception: CLI read timeout.
> at org.jboss.as.test.integration.management.util.CLIWrapper.readLine(CLIWrapper.java:168)
> at org.jboss.as.test.integration.management.util.CLIWrapper.sendLine(CLIWrapper.java:123)
> at org.jboss.as.test.integration.domain.management.cli.DeploySingleServerGroupTestCase.testRedeploy(DeploySingleServerGroupTestCase.java:104)
> at org.jboss.as.test.integration.domain.management.cli.DeploySingleServerGroupTestCase.testDeployRedeployUndeploy(DeploySingleServerGroupTestCase.java:77)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:2 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> at
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list