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

求助,云编译空间不够的问题 #11604

Closed
1 task
ramblerSY opened this issue Oct 18, 2023 · 5 comments
Closed
1 task

求助,云编译空间不够的问题 #11604

ramblerSY opened this issue Oct 18, 2023 · 5 comments

Comments

@ramblerSY
Copy link
Contributor

ramblerSY commented Oct 18, 2023

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

求助,云编译空间不够的问题:使用P3TERX-Actions-OpenWrt大神的云编译,No space left on device
编译目标为X86-64,用于软路由
地址https://github.com/younger911/P3TERX-Actions-OpenWrt
config如下:
https://github.com/younger911/P3TERX-Actions-OpenWrt/blob/main/.config
请问各位大神,该如何解决

Q:是否搜索了issue (使用 "x" 选择)

  • 没有类似的issue,搜索了相关issue,不能解决问题

2. 详细叙述

(1) 具体问题

A:
问题如下:build
System.IO.IOException: No space left on device : '/home/runner/runners/2.310.2/_diag/Worker_20231017-123717-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan1 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.310.2/_diag/Worker_20231017-123717-utc.log' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan1 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.310.2/_diag/Worker_20231017-123717-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)

(2) 路由器型号和固件版本

A:

(3) 详细日志

A:

@lyin888
Copy link
Contributor

lyin888 commented Oct 18, 2023

- name: 释放磁盘空间
  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: true
    # 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

@lyin888
Copy link
Contributor

lyin888 commented Oct 18, 2023

steps:
- name: Checkout
  uses: actions/checkout@main

添加在这段代码下面

@yanxin152133
Copy link

#7796

@ramblerSY
Copy link
Contributor Author

我去试试,非常感谢大神的帮助

@ramblerSY
Copy link
Contributor Author

可以了,现在能够完成编译,感谢大佬

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