[jboss-jira] [JBoss JIRA] (AS7-2392) EnterpriseDeploymentTestCase fails consistently on windows
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Jan 13 11:29:24 EST 2012
[ https://issues.jboss.org/browse/AS7-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659295#comment-12659295 ]
Brian Stansberry commented on AS7-2392:
---------------------------------------
The main solution to 2) in my last comment involves adding a package private cleanup() method to DeploymentPlanImpl and then invoking that from the ServerDeploymentPlanResultFuture get(...) and cancel() methods. For get() it should be invoked if there is an ExecutionException, but not for InterruptedException or TimeoutException.
Note that a similar analysis/solution needs to be done with the managed domain deployment management stuff in controller-client.
> EnterpriseDeploymentTestCase fails consistently on windows
> ----------------------------------------------------------
>
> Key: AS7-2392
> URL: https://issues.jboss.org/browse/AS7-2392
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management, JSR88
> Environment: win7
> Reporter: Dimitris Andreadis
> Assignee: Brian Stansberry
> Priority: Critical
> Fix For: 7.1.0.Final
>
> Attachments: TEST-org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase.xml
>
>
> I get there consistent test failures on win7 in the integration testsuite:
> {code}
> Failed tests: testDistributeEjbApp(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase): expected:<Completed> but was:<Failed>
> testDistributeEARApp(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase): expected:<Completed> but was:<Failed>
> testListAvailableModules(org.jboss.as.test.smoke.embedded.deployment.EnterpriseDeploymentTestCase)
> By looking in the logs, I think the problem is traced back to this deployment problem that affects all failures:
> Caused by: java.lang.RuntimeException: Could not create timer file store directory X:\src\jboss-as\testsuite\integration\target\smoke\standalone\data\timer-service-data\file:\C:\Users\dimitris\AppData\Local\Temp\deployment-ejb.jar
> at org.jboss.as.ejb3.timerservice.mk2.persistence.filestore.FileTimerPersistence.start(FileTimerPersistence.java:101)
> at org.jboss.as.ejb3.timerservice.TimerServiceFactoryService.start(TimerServiceFactoryService.java:77)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> ... 3 more
> {code}
> It concatenates the testsuite target dir with the user's temp dir.?
> Looking quickly I couldn't find where the path to this file is created. Maybe it's a ShrinkWrap issue?
--
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