swift-unidoc icon indicating copy to clipboard operation
swift-unidoc copied to clipboard

cannot build discordbm at 1.11.0

Open tayloraswift opened this issue 1 year ago • 1 comments

it seems the build, including the documentation build succeeds, but the builder fails to report its status for some reason

tayloraswift avatar May 16 '24 19:05 tayloraswift

as it turns out, while we were also failing to catch all errors thrown from SSGC (fixed in 96ac866), the root cause of the build failure was a typical OOM.

May 16 22:43:06 u1.swiftinit.org systemd[1]: Started swiftinit.org builder.
May 16 22:54:53 u1.swiftinit.org systemd[1]: unidoc.service: A process of this unit has been killed by the OOM killer.
May 16 22:54:56 u1.swiftinit.org systemd[1]: unidoc.service: Failed with result 'oom-kill'.
May 16 22:54:56 u1.swiftinit.org systemd[1]: unidoc.service: Consumed 10min 35.212s CPU time.
May 16 22:54:56 u1.swiftinit.org systemd[1]: unidoc.service: Scheduled restart job, restart counter is at 1.
May 16 22:54:56 u1.swiftinit.org systemd[1]: Stopped swiftinit.org builder.
May 16 22:54:56 u1.swiftinit.org systemd[1]: unidoc.service: Consumed 10min 35.212s CPU time.
May 16 22:54:57 u1.swiftinit.org systemd[1]: Started swiftinit.org builder.

we can’t (economically) fix this, as we are currently using the AWS t4g.small promotion.

however, the builder really ought to be able to report its status when it is restarted, instead of us having to timeout the builds on the server side.

tayloraswift avatar May 16 '24 23:05 tayloraswift