Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[BUG] r-rstanarm: build interrupted

Open shun2wang opened this issue 5 months ago • 8 comments

Dont know why but it is always failed and log says:

[I 10-08 00:48:46.462 worker:248] KeyboardInterrupt received [D 10-08 00:48:46.462 tools:19] killing child processes (if any) Container arch-nspawn-3238443 terminated by signal KILL.

Log of the bug

https://build.bioarchlinux.org/api/pkg/r-rstanarm/log/1759884527

shun2wang avatar Oct 08 '25 03:10 shun2wang

Maybe building this takes quite a long time? Have you tried time_limit to extend building time?

starsareintherose avatar Oct 08 '25 05:10 starsareintherose

Have you tried time_limit to extend building time?

Never, such time_limit_hours: 4? how long by default?

shun2wang avatar Oct 08 '25 05:10 shun2wang

Default may be 1h?

starsareintherose avatar Oct 08 '25 12:10 starsareintherose

hummm, still failed but only build nearly 20min, https://build.bioarchlinux.org/api/pkg/r-rstanarm/log/1759927697

shun2wang avatar Oct 08 '25 15:10 shun2wang

Have you tested on a local computer and seen what's happened? What error report is critical? Or can you see what's happened in log?

starsareintherose avatar Oct 09 '25 00:10 starsareintherose

log says:

[I 10-09 12:49:33.372 worker:248] KeyboardInterrupt received
[D 10-09 12:49:33.372 tools:19] killing child processes (if any)
Container arch-nspawn-3131215 terminated by signal KILL.
==> ERROR: Aborting...

[2025-10-09 12:49:34 +0000] build (version 2.32.2-1) finished in 1065s with result: <BuildResult.failed: KeyboardInterrupt; rusage=RUsage(cputime=1097.429168, memory=11698454528)>

shun2wang avatar Oct 09 '25 15:10 shun2wang

@sukanka @lilydjwg actually I have no ideas

starsareintherose avatar Oct 10 '25 16:10 starsareintherose

SIGKILL => OOM Killer. It triggered four times since yesterday (a new day has just begun 15 minutes ago), see memory usage..

lilydjwg avatar Oct 10 '25 16:10 lilydjwg

So how to solve this problem./(ㄒoㄒ)/~~

shun2wang avatar Nov 18 '25 03:11 shun2wang

@lilydjwg should we consider add a larger swapfile?

starsareintherose avatar Nov 19 '25 13:11 starsareintherose

Yes. The current one is too small.

lilydjwg avatar Nov 21 '25 07:11 lilydjwg

How large it would be? 10G?

starsareintherose avatar Nov 24 '25 15:11 starsareintherose

It depends on how much the packages need and available disk space. This can be added gradually (multiple swapfile is OK).

lilydjwg avatar Nov 24 '25 16:11 lilydjwg