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

Use Buck from Jitpack #178

Merged
merged 4 commits into from
Sep 8, 2022
Merged

Use Buck from Jitpack #178

merged 4 commits into from
Sep 8, 2022

Conversation

cortinico
Copy link
Member

I'm updating the Buck version + switching to use the version from Jitpack:
https://jitpack.io/#facebook/buck/v2022.05.05.01

I've realized we hava a -java11.pex file we can use and should work fine with Java11 so there is no need to build Buck from source anymore.

@cortinico
Copy link
Member Author

@gengjiawen it seems like build is "skipped" due to:

System.IO.IOException: No space left on device : '/home/runner/runners/2.295.0/_diag/Worker_20220818-111350-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.295.0/_diag/Worker_20220818-111350-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.295.0/_diag/Worker_20220818-111350-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)

Have you ever experienced something similar?

@gengjiawen
Copy link
Member

gengjiawen commented Aug 19, 2022

Yeap:

f4c196f (#169)

My case is running test case.

@cortinico
Copy link
Member Author

Yeap:

f4c196f (#169)

My case is running test case.

Awesome will try this 👍 Thanks for the suggestion

@cortinico
Copy link
Member Author

Nope no luck. Also unsure why this is the case 🤔 as we should be using less spaces with my changes.

@gengjiawen
Copy link
Member

Nope no luck. Also unsure why this is the case 🤔 as we should be using less spaces with my changes.

Yeap. Looks like a upstream bug or new limitation from github action for me.

@gengjiawen
Copy link
Member

Another worth try is revert cmdlines https://github.com/react-native-community/docker-android/pull/175/files.

It's the only related change. (It works on circleCI)

@gengjiawen
Copy link
Member

@gengjiawen gengjiawen mentioned this pull request Aug 25, 2022
4 tasks
@leotm
Copy link
Contributor

leotm commented Aug 25, 2022

i thought about maximising build space at first too after mini freakout suddenly all PR's failing 😆 but knew had to be smth bigger

thx @gengjiawen again for cross-referencing and code review

22.04 fixed it for me, so now rebasing/re-trying all PR's w renovate (should hopefully be passing again as usual in couple/few hrs)

@cortinico cortinico force-pushed the nc/jitpack branch 2 times, most recently from e50b54c to 5d2284a Compare September 7, 2022 15:38
@cortinico cortinico force-pushed the nc/jitpack branch 2 times, most recently from 8e0b9e9 to 5439ac8 Compare September 7, 2022 22:32
@cortinico
Copy link
Member Author

@gengjiawen I had to move the build step to CircleCI as the Github Runner was too much constrained. Now all is green. Are we fine merging this?

@gengjiawen
Copy link
Member

@gengjiawen I had to move the build step to CircleCI as the Github Runner was too much constrained. Now all is green. Are we fine merging this?

Yeap.

@cortinico cortinico merged commit 6401155 into master Sep 8, 2022
@cortinico cortinico deleted the nc/jitpack branch September 8, 2022 09:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants