Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Error in Publish > Cobertura Report #4447

stefansta ·

We use Quickbuild 10.0.41 and get an error during the publish coverage step, but the file pazh is correct:

10:36:28,452 ERROR - Step 'master>Do Test for all ServerVersions?curFabServer=1>Run Tests>Publish CoverageFiles' is failed.
    java.lang.RuntimeException: java.io.IOException: The device is not ready
        at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
        at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
        at com.pmease.quickbuild.plugin.report.engine.util.ReportUtils.getRelativePath(ReportUtils.java:468)
        at com.pmease.quickbuild.plugin.report.engine.util.ReportUtils.getRelativePath(ReportUtils.java:442)
        at com.pmease.quickbuild.plugin.report.engine.util.ReportUtils.getRelativePath(ReportUtils.java:421)
        at com.pmease.quickbuild.plugin.report.cobertura.parser.MethodParser.parse(MethodParser.java:47)
        at com.pmease.quickbuild.plugin.report.cobertura.parser.CoberturaParser.parse(CoberturaParser.java:10)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaProcessor.processResource(CoberturaProcessor.java:53)
        at com.pmease.quickbuild.plugin.report.engine.generator.AbstractProcessor.doExecute(AbstractProcessor.java:83)
        at com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction.execute(GenerateAction.java:42)
        at com.pmease.quickbuild.plugin.report.engine.generator.AbstractGenerator.doExecute(AbstractGenerator.java:43)
        at com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction.execute(GenerateAction.java:42)
        at com.pmease.quickbuild.plugin.report.engine.generator.DefaultGenerator.generate(DefaultGenerator.java:37)
        at com.pmease.quickbuild.plugin.report.engine.contribution.publisher.AbstractPublisher.doPublish(AbstractPublisher.java:162)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523.CGLIB$doPublish$43(<generated>)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523$$FastClassByCGLIB$$382a92e0.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:261)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523.doPublish(<generated>)
        at com.pmease.quickbuild.plugin.report.engine.contribution.publisher.AbstractPublisher.run(AbstractPublisher.java:129)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523.CGLIB$run$39(<generated>)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523$$FastClassByCGLIB$$382a92e0.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:261)
        at com.pmease.quickbuild.plugin.report.cobertura.CoberturaPublisher$$EnhancerByCGLIB$$ade66523.run(<generated>)
        at com.pmease.quickbuild.stepsupport.Step.doExecute(Step.java:656)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:570)
        at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:31)
        at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:56)
        at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:77)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:131)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.IOException: The device is not ready
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
        at java.io.File.getCanonicalPath(File.java:620)
        at com.pmease.quickbuild.plugin.report.engine.util.ReportUtils.getRelativePath(ReportUtils.java:463)
        ... 33 more
  • replies 1
  • views 55
  • stars 0
steveluo ADMIN ·

Hi@stefansta

Please open your cobertura xml file and find sources element:

<sources>
  <source>C:/QuickBuild/workspace/root/cobertura...</source>
</sources>

Make sure the source directory is also existed in your system.

Normally, you need run Publish Cobertura Report step on the same node where you run checkout step.