Big TRX file causing 'Publish MSTest' [MSTEST-PLUGIN] to Fail

87 views
Skip to first unread message

Joe Fradley

unread,
Mar 28, 2016, 12:54:40 PM3/28/16
to Jenkins Users
Hello,

I have a job that has a lot of unit tests ~30,000. When it gets to the point of parsing the the produced *trx file I get a 'No more DTM IDs are available' error. Any suggestions on a solution would be appreciated. I could break my unit tests across different jobs, but I'd rather not. My *trx file is ~40MB big.

Total tests: 29880. Passed: 29878. Failed: 2. Skipped: 0.
Test Run Failed.
Test execution time: 1.0809 Hours
Build step 'Run unit tests with VSTest.console' marked build as failure
[MSTEST-PLUGIN] Processing test results in file(s) UnitTests\TestResults\*.trx
MSTest: C:\Jenkins\jobs\Scout - BarnsleyBeatDown\workspace\UnitTests\TestResults\SYSTEM_AIT-UI-DEV 2016-03-28 11_13_23.trx
ERROR: Step ‘Publish MSTest test result report’ aborted due to exception: 
java.io.IOException: [MSTEST-PLUGIN] Could not transform the MSTest report. Please report this issue to the plugin author
	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:76)
	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23)
	at hudson.FilePath.act(FilePath.java:990)
	at hudson.FilePath.act(FilePath.java:968)
	at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:114)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
	at hudson.model.Run.execute(Run.java:1763)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.dtm.DTMException: No more DTM IDs are available
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
	at hudson.plugins.mstest.XslTransformer.transform(XslTransformer.java:51)
	at hudson.plugins.mstest.MSTestReportConverter.transform(MSTestReportConverter.java:149)
	at hudson.plugins.mstest.MSTestReportConverter.transform(MSTestReportConverter.java:68)
	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:74)
	... 13 more
Caused by: com.sun.org.apache.xml.internal.dtm.DTMException: No more DTM IDs are available
	at com.sun.org.apache.xml.internal.dtm.ref.DTMManagerDefault.addDTM(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.dom.SAXImpl.getResultTreeFrag(Unknown Source)
	at com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter.getResultTreeFrag(Unknown Source)
	at GregorSamsa.template$dot$0()
	at GregorSamsa.applyTemplates()
	at GregorSamsa.transform()
	at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(Unknown Source)
	... 19 more

Slide

unread,
Mar 28, 2016, 1:35:26 PM3/28/16
to Jenkins Users
Can you file an issue in JIRA at https://issues.jenkins-ci.org?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f30de56f-9b79-42bc-bbd8-70ae296fa85c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Fradley

unread,
Mar 28, 2016, 2:01:03 PM3/28/16
to Jenkins Users
Sure can and just did, thank you.
Reply all
Reply to author
Forward
0 new messages