Skip to content

Limit flatpak-builder jobs to 1

Anton Lazarev requested to merge antonok/citemplates:limit-jobs into master

The CI on the Calls repo has been failing since April, as discussed in this thread. @julianfairfax and I have been investigating potential fixes in calls#611. Some of the failures we've been seeing in CI are of the following form:

libgomp: Thread creation failed: Resource temporarily unavailable

I've determined that these builds are invoked through flatpak-builder using the flatpak_ci_initiative.yml template from this repo. Somehow, it is attempting to create more threads than the CI machines can handle.

I was able to work around the failures by cloning the relevant CI template from this repo and tweaking it to add --jobs=1. I haven't checked if this issue applies to other repos using the template as well, but I'd be surprised if Calls was the only one.

I propose adding --jobs=1 to the template here to unblock testing the GTK4 port of Calls, although if there are better ideas of how to proceed I'd be happy to hear them!

Merge request reports