[
https://jira.jboss.org/jira/browse/JBAS-5625?page=com.atlassian.jira.plug...
]
Scott M Stark commented on JBAS-5625:
-------------------------------------
Ok, looking at the 867 server log I see there is a race between the HDScanner seeing the
testEjb3xDeployment.jar and the test removing the jar. Its happening between stop of the
deployment, and its removal. During this period it should not be exposed to the HDScanner,
so there is a bug in the profile service repository/profile.getModifiedDeployments().
2008-09-01 01:40:55,515 DEBUG
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(WorkerThread#0[10.18.34.175:49212]) invoke, payload:
{DeploymentTargetID=names=[testEjb3xDeployment.jar]phase=APPLICATIONcopyContent=truedescription=null,
clientAddress=/10.18.34.175}, parameter: stop2008-09-01 01:40:55,515 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(WorkerThread#0[10.18.34.175:49212]) Stop, [testEjb3xDeployment.jar]
...
2008-09-01 01:40:55,667 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl]
(WorkerThread#0[10.18.34.175:49212]) Fully Undeployed
vfszip:/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.CR2/server/profileservice/deploy/testEjb3xDeployment.jar
...
2008-09-01 01:40:55,701 DEBUG
[org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository]
(HDScanner) Created deployment: AbstractVFSDeployment(testEjb3xDeployment.jar)
...
2008-09-01 01:40:55,716 DEBUG
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(WorkerThread#0[10.18.34.175:49214]) invoke, payload:
{DeploymentTargetID=names=[testEjb3xDeployment.jar]phase=APPLICATIONcopyContent=truedescription=null,
clientAddress=/10.18.34.175}, parameter: undeploy
2008-09-01 01:40:55,716 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(WorkerThread#0[10.18.34.175:49214]) Undeploy, [testEjb3xDeployment.jar]
2008-09-01 01:40:55,718 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler]
(WorkerThread#0[10.18.34.175:49214]) Undeployed: testEjb3xDeployment.jar
...
2008-09-01 01:40:55,728 DEBUG [org.jboss.deployment.OptAnnotationMetaDataDeployer]
(HDScanner) Error during deploy:
vfszip:/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.CR2/server/profileservice/deploy/testEjb3xDeployment.jar
org.jboss.deployers.spi.DeploymentException: Cannot process metadata
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
at
org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
...
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:173)
at
org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:207)
at
org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:906)
...
fix org.jboss.test.profileservice.* tests
-----------------------------------------
Key: JBAS-5625
URL:
https://jira.jboss.org/jira/browse/JBAS-5625
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: ProfileService, Test Suite
Reporter: Dimitris Andreadis
Assignee: Scott M Stark
Priority: Critical
Fix For: JBossAS-5.0.0.CR2
Most of the profileservice tests are still failing:
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
org.jboss.test.profileservice.test.DeployUnitTestCase(profileservice).testEjb2xDeployment
org.jboss.test.profileservice.test.DeployUnitTestCase(profileservice).testMCBeansDeployment 0.343 3
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase(profileservice).testRemoveQueue 0.433 3
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase(profileservice).testRemoveTopic
org.jboss.test.profileservice.test.DeployUnitTestCase(profileservice).testEarDeployment 0.827 4
org.jboss.test.profileservice.test.DeployUnitTestCase(profileservice).testSarDeployment 0.131 4
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase(profileservice).testDLQ 2.245 4
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase(profileservice).testCreateQueue 0.653 4
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase(profileservice).testCreateTopic 0.536 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testDeploymentNames 0.25 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testJmsDestinationComponents 0.074 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testDefaultDSOps 0.295 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testDefaultDSStats 0.22 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testAddDataSource 0.219 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testRemoveDataSource 0.11 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testAddXADataSource 0.196 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testRemoveXADataSource 0.105 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testAddTxConnectionFactory 0.235 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testRemoveTxConnectionFactory 0.094 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testAddNoTxConnectionFactory 0.2 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testRemoveNoTxConnectionFactory 0.096 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testAddNoTxDataSource 0.187 4
org.jboss.test.profileservice.test.ProfileServiceUnitTestCase(profileservice).testRemoveNoTxDataSource
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira