<< Back to previous view

[QB-2804] build should fail immediately when checkout step detects that the build agent is out of space
Created: 15/Sep/16  Updated: 01/Dec/16

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.22
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Raul Mondragon Assigned To: Robin Shen
Resolution: Won't Fix Votes: 1
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
When the following error occurs in the Checkout step, the build should fail immediately. Currently the behavior we see is that the job hangs indefinitely.


00:29:45,833 ERROR - Error pumping stream.
    java.lang.RuntimeException: java.io.IOException: There is not enough space on the disk
        at com.pmease.quickbuild.log.BuildLogger.log(BuildLogger.java:251)
        at com.pmease.quickbuild.log.BuildLogger.debug(BuildLogger.java:124)
        at com.pmease.quickbuild.plugin.scm.perforce.PerforceRepository$5.consume(PerforceRepository.java:533)
        at com.pmease.quickbuild.execution.LineConsumer.processBuffer(LineConsumer.java:86)
        at com.pmease.quickbuild.execution.LineConsumer.write(LineConsumer.java:73)
        at java.io.OutputStream.write(Unknown Source)
        at com.pmease.quickbuild.execution.ProcessStreamPumper$1.run(ProcessStreamPumper.java:91)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: There is not enough space on the disk
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(Unknown Source)
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.io.BufferedOutputStream.write(Unknown Source)
        at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
        at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown Source)
        at java.io.ObjectOutputStream.writeNonProxyDesc(Unknown Source)
        at java.io.ObjectOutputStream.writeClassDesc(Unknown Source)
        at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
        at java.io.ObjectOutputStream.writeObject0(Unknown Source)
        at java.io.ObjectOutputStream.writeFatalException(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at com.pmease.quickbuild.log.BuildLogger.log(BuildLogger.java:246)
        ... 11 more

 Comments   
Comment by Robin Shen [ 01/Dec/16 07:02 AM ]
In such event, some basic I/O operations can fail to prevent even a clean failure of build.
Generated at Tue May 21 01:39:28 UTC 2024 using JIRA 189.