[Design of JBoss Build System] - Regression consequences and improved process
by bill.burke@jboss.com
We had some discussion about this on jboss-dev and the-core. Head/trunk has not had a full passing testsuite in years. This has resulted many times in people committing stuff that regresses other projects without knowing it. Much of this is because of the lack of stable (or any) SPIs for projects loaded into JBoss AS through thirdparty (i.e. JBoss WS), but IMO, we cannot wait for these things to stabilize.
I suggest the following actions:
1. Freeze trunk
2. Generate JIRA tasks for each failing test in EJB3 and testsuite module (and any other module that has a testsuite in AS trunk.
3. Disable all failing tests
4. Unfreeze trunk.
5. Nightly build runs
6. If it is not successful, then freeze trunk until regressions are fixed
7. If successful tag and increment build number
The TCK should be a part of the regression process. If it regresses, we should freeze as well. I dont' know how feasible this is given TCK takes what, 10 hours to run?
I've seen this process work well at other companies (one of them a middleware company!). One thing that makes this process work is for developers to work in their own branch off of trunk. This allows them to commit and share work with others, without breaking or regressing trunk. Since we are on SVN now, this should be much much easier to do.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063750#4063750
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063750
18 years, 9 months
[Design of POJO Server] - Seeing unexpected redeploy breaking all web apps in head
by scott.stark@jboss.org
In testing against the cts config, I'm seeing a strange redeployment attempt happen, after which all web apps are unreachable. I have not seen it in the default config yet, but don't know why the invalid redeployment should be triggered in one but not the other. The jmx-console.war has not been redeployed, so why the undeploy is happening is what I'm trying to determine first.
| 14:27:52,080 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200707111842)] Started in 28s:779ms
| 14:29:40,472 INFO [TomcatDeployment] undeploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
| 14:29:40,574 ERROR [WebAppParsingDeployer] Error during deploy: vfsfile:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta3/server/cts/deploy/jmx-console.war/
| org.jboss.deployers.spi.DeploymentException: Error parsing meta data jmx-console.war/WEB-INF/web.xml
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.vfs.spi.deployer.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:90)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:201)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:177)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:140)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:657)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:623)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:587)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:426)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:287)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:219)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfsfile:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta3/server/cts/deploy/jmx-console.war/WEB-INF/web.xml@4,46
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:180)
| at org.jboss.deployers.vfs.spi.deployer.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:86)
| ... 28 more
| Caused by: java.lang.NullPointerException
| at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:506)
| at org.jboss.util.xml.JBossEntityResolver.resolvePublicID(JBossEntityResolver.java:314)
| at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:244)
| at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
| at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
| ... 30 more
| 14:29:40,577 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta3/server/cts/deploy/jmx-console.war/ state=Not Installed mode=Manual requiredState=Parse
| org.jboss.deployers.spi.DeploymentException: Error parsing meta data jmx-console.war/WEB-INF/web.xml
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.vfs.spi.deployer.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:90)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:201)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:177)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:140)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:657)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:623)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:587)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:426)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:287)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:219)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfsfile:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta3/server/cts/deploy/jmx-console.war/WEB-INF/web.xml@4,46
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:180)
| at org.jboss.deployers.vfs.spi.deployer.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:86)
| ... 28 more
| Caused by: java.lang.NullPointerException
| at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:506)
| at org.jboss.util.xml.JBossEntityResolver.resolvePublicID(JBossEntityResolver.java:314)
| at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:244)
| at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
| at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
| ... 30 more
| 14:29:40,583 WARN [HDScanner] Failed to process changes
| org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| vfsfile:/home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.Beta3/server/cts/deploy/jmx-console.war/ -> java.lang.NullPointerException
|
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:552)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:379)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:288)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:219)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
|
After this all web apps fail with:
| [starksm@succubus connector]$ wget http://localhost:8080/
| --14:20:16-- http://localhost:8080/
| => `index.html.2'
| Resolving localhost... 127.0.0.1
| Connecting to localhost|127.0.0.1|:8080... connected.
| HTTP request sent, awaiting response... 400 No Host matches server name localhost
| 14:20:16 ERROR 400: No Host matches server name localhost.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063738#4063738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063738
18 years, 9 months