question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No space left on device after upgrading to 2.289.2

See original GitHub issue

Describe the bug Our integration test build step started failing after the runner upgraded to 2.289.2.

To Reproduce Sorry for the terrible bug description.

Steps to reproduce the behavior:

  1. Go to https://github.com/Project-MONAI/monai-deploy-informatics-gateway/actions/runs/2093298340
  2. The docker-compose log command would eventually time out and the job would get canceled.
System.IO.IOException: No space left on device : '/home/runner/runners/2.289.2/_diag/Worker_20220405-003310-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.289.2/_diag/Worker_20220405-003310-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.289.2/_diag/Worker_20220405-003310-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)

Expected behavior Build step to pass https://github.com/Project-MONAI/monai-deploy-informatics-gateway/actions/runs/2080265670

Runner Version and Platform

Version of your runner? 2.289.2

OS of the machine running the runner? Linux

What’s not working?

See https://github.com/Project-MONAI/monai-deploy-informatics-gateway/runs/5826064123?check_suite_focus=true

Job Log Output

Can’t get to the output of the step as it spins forever.

Runner and Worker’s Diagnostic Logs

NA

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jerrychong25commented, May 6, 2023

In my case, I’ve used Free Disk Space Ubuntu in GitHub Actions to solve my problem.

Free Disk Space Ubuntu GitHub Actions Sample Code:

name: sample-github-actions

jobs:
  sample_job:
    # The host should always be Linux
    runs-on: ubuntu-20.04
    name: Build on ubuntu-20.04 armv8
    steps:
      - name: Checkout 🛎️
        uses: actions/checkout@v2

      - name: Free Up GitHub Actions Ubuntu Runner Disk Space 🔧
        uses: jlumbroso/free-disk-space@main
        with:
          # This might remove tools that are actually needed, if set to "true" but frees about 6 GB
          tool-cache: false

          # All of these default to true, but feel free to set to "false" if necessary for your workflow
          android: true
          dotnet: true
          haskell: true
          large-packages: true
          swap-storage: true

Hope this helps those face same issue.

1reaction
ruvceskistefancommented, Apr 5, 2022

Thanks for your reply. Then I will close this issue for now, and if there are more users with a similar problem, we will reopen it. Thanks again @mocsharp!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hudson fails with error "No space left on device" though ...
The "no space left on device" error isn't necessarily caused by running out of storage capacity, as it suggests, it can also be...
Read more >
VMware vCenter Upgrade: Error “No space left on device”
I was trying to upgrade VMware vCenter (VCSA) to v7.0U3 at my work using the command shell, I got an error while staging...
Read more >
jenkins configuration not able to save or apply
I upgraded jenkins from 2.222.1 to Jenkins 2.289.2 . There are some issue with the plugin , i going to the manage jenkins...
Read more >
Upgrade to 2.13.20 is failing with no space left on device
Upgrade to 2.13.20 is failing with no space left on device. Article Number: 18056 □ Publication Date: June 2, 2023. Jun 2, 2023•Knowledge...
Read more >
OpenShift Container Platform 4.9.0 bug fix and security ...
Instructions for upgrading a cluster are available at https://docs.openshift.com/container-platform/4.9/updating/updating-cluster ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found