Skip to content

generate_assets.yml GitHub Actions workflow run out of space #103

Description

@anthonyfok

The data files have grown big enough that, as of v1.1.0, the default GitHub runner no longer has sufficient disk/build space for generate_assets.yml to complete:

  • https://github.com/OpenDRR/seismic-risk-model/actions/runs/6165904115
  • build
    System.IO.IOException: No space left on device : '/home/runner/runners/2.309.0/_diag/Worker_20230913-103452-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)
  • build
    unable to write file eDamage/output/QC/eD_QC_J_Misc_damages-q50_b0.csv

Potential solutions:

  • Use easimon/maximize-build-space GitHub Action
  • Download only files in data/ directory (only 2.7 GiB). The largest files reside elsewhere, e.g. in eDamage/, which we do not need to upload as release assets.
  • Download from release assets of the previous release in a piecemeal fashion, and use Git LFS only for downloading new or changed files. (same proposed method as upload_assets.yml GitHub Actions workflow run out of space earthquake-scenarios#85)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingEnhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions