Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed github actions as of recently #202

Closed
theCalcaholic opened this issue Jul 27, 2023 · 4 comments
Closed

Failed github actions as of recently #202

theCalcaholic opened this issue Jul 27, 2023 · 4 comments

Comments

@theCalcaholic
Copy link

theCalcaholic commented Jul 27, 2023

Hi,

I'm aware this is definitely not the right place for this issue, but frankly, I don't know where is.

I'm the developer of NextcloudPi and I'm very thankful that we can use a repository under the nextcloud namespace.
During the last years, we have moved all of our build processes to Github actions and, because that's probably enforced by an admin policy for the github.com/nextcloud org, we can only use self hosted runners for this, which in this case means runners hosted by Nextcloud (with one exception for arm64 builds). I wasn't actually aware of this until I tracked down a bug with our pipelines lately.

Anyways here's my current issue: since at least July, we have issues with all of our armbian builds, because the worker jobs run out of disk space. I assume there has been a change in the runner configuration that causes this. Is there any way to either

  1. Change the runner configuration to provide slightly more disk space or
  2. allow Github-hosted runners for the nextcloudpi repository

Hosting our own runner cluster is not an option unfortunately, because the project is entirely non-profit and that would mean a significant cost factor for me :)

Here is an example for the kind of errors we receive:

System.IO.IOException: No space left on device : '/home/runner/runners/2.306.0/_diag/Worker_20230726-203451-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.306.0/_diag/Worker_20230726-203451-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.306.0/_diag/Worker_20230726-203451-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)
@skjnldsv
Copy link
Member

Hey! :)

We offer the same specs as the official runners 🤔
If you want to make sure to not use our runners, you can adjust your workflows by using ubuntu-22.04 instead of ubuntu-latest

cc @marcelklehr

@marcelklehr
Copy link
Member

marcelklehr commented Jul 27, 2023

misnomer? Not sure how I can help here.

@theCalcaholic
Copy link
Author

@skjnldsv Thank you, I'll verify if I encounter the same issues with the official runners then. If yes, I'll look into a feasible alternative :)

@skjnldsv
Copy link
Member

Keep me updated :)

@skjnldsv skjnldsv closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants