History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2804
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Raul Mondragon
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

build should fail immediately when checkout step detects that the build agent is out of space

Created: 15/Sep/16 09:11 PM   Updated: 01/Dec/16 07:02 AM
Component/s: None
Affects Version/s: 6.1.22
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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

 All   Comments   Work Log   Change History      Sort Order:
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.