You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "empiredan (via GitHub)" <gi...@apache.org> on 2023/05/25 04:15:01 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1485: Github actions run out of disk space while building releases

empiredan opened a new issue, #1485:
URL: https://github.com/apache/incubator-pegasus/issues/1485

   While building releases for [cpp](https://github.com/apache/incubator-pegasus/actions/workflows/lint_and_test_cpp.yaml) for the branch [migrate-metrics-dev](https://github.com/apache/incubator-pegasus/tree/migrate-metrics-dev) by Github Actions, following errors are reported as:
   
   ```
   You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 0 MB
   ```
   
   ```
   System.IO.IOException: No space left on device : '/home/runner/runners/2.304.0/_diag/Worker_20230523-041937-utc.log'
      at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
      at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
      at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
      at System.Diagnostics.TextWriterTraceListener.Flush()
      at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
      at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
      at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
      at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut)
      at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
   System.IO.IOException: No space left on device : '/home/runner/runners/2.304.0/_diag/Worker_20230523-041937-utc.log'
      at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
      at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
      at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
      at System.Diagnostics.TextWriterTraceListener.Flush()
      at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
      at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
      at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
      at GitHub.Runner.Common.Tracing.Error(Exception exception)
      at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
   Unhandled exception. System.IO.IOException: No space left on device : '/home/runner/runners/2.304.0/_diag/Worker_20230523-041937-utc.log'
      at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
      at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
      at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
      at System.Diagnostics.TextWriterTraceListener.Flush()
      at System.Diagnostics.TraceSource.Flush()
      at GitHub.Runner.Common.TraceManager.Dispose(Boolean disposing)
      at GitHub.Runner.Common.TraceManager.Dispose()
      at GitHub.Runner.Common.HostContext.Dispose(Boolean disposing)
      at GitHub.Runner.Common.HostContext.Dispose()
      at GitHub.Runner.Worker.Program.Main(String[] args)
   ```
   
   The failed jobs include `Build Release` and `Build with jemalloc`:
   ![image](https://github.com/apache/incubator-pegasus/assets/743379/2a58c7c5-f59f-4f35-aa99-93d7a248d3b6)
   
   Both failed jobs will pack servers and tools (which are different from `Build ASAN`). Both jobs will generate following directories and tar packages, which consume 2.7GB disk space:
   ![image](https://github.com/apache/incubator-pegasus/assets/743379/c08a8189-e636-46d8-b3af-42bd068d769b)
    
   Though this problem has not found for [master](https://github.com/apache/incubator-pegasus) branch, we could also drop the generated directories and tar packages before this problem occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] empiredan closed issue #1485: Github actions run out of disk space while building releases

Posted by "empiredan (via GitHub)" <gi...@apache.org>.
empiredan closed issue #1485: Github actions run out of disk space while building releases
URL: https://github.com/apache/incubator-pegasus/issues/1485


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org