psieg / Lightpack

Lightpack and Prismatik open repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatpak build keeps getting skipped

psieg opened this issue · comments

There is some issue with the flatpak build in github actions. It is reported as skipped, but the detailed status is

Flatpack Build
An error occurred while provisioning resources (Error Type: Disconnect).
Flatpack Build
Received request to deprovision: The request was cancelled by the remote provider.

It seems the connection to the github runner job is lost. I have played with it a bit, and I got this particularly weird run where the rm -rf after the build seems to fail with exit code 137 (out of memory).

 ######################## bundle
+ flatpak build-bundle tmp/repo prismatik_5.11.2.31.flatpak de.psieg.Prismatik
+ echo ######################## cleanup
+ rm -rf tmp
######################## cleanup
+ rm -rf .flatpak-builder
Killed
Error: Process completed with exit code 137.

I sprinkled some ps into the build script but it doesn't report any processes taking up all the memory.

In another case the workflow status indicated GitHub lost connection to the runner, which may be due to CPU or RAM starvation of the runner job.