[Pkg-rust-maintainers] Bug#822325: Bug#822325: rustc: FTBFS in testing: test fail
lucab at debian.org
Sat May 14 17:32:35 UTC 2016
forwarded 822325 https://github.com/rust-lang/rust/pull/33640
On Saturday, May 14, 2016 02:52:55 PM Santiago Vila wrote:
> In both cases the problem went away by setting
> DefaultTasksMax=infinity in /etc/systemd/system.conf.
Good catch! I was aware of it, but didn't come to my mind in this context.
> So I tried doing that with rustc and the problem went away as well.
> For reference, this was the setting in systemd which most likely was
> to blame for this:
> This setting has been changed in systemd yesterday and it will reach
> testing in four days, so if you still want to reproduce this in rustc
> in testing (using the kernel in testing), maybe you could.
I was not able to reproduce it as I was building from a user session,
while you are probably outside of it (system service or a naked shell).
I just reproduced it via `systemd-run --scope -p TasksMax=512 ./tcp-stress`.
Part of it is due to the tcp-stress test not checking for spawned thread, I've
just submitted a PR to make that failure explicit:
If your sbuild is running as a daemon or in any other dedicated way, I think
you should ask for its TasksMax setting to be increased.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part.
More information about the Pkg-rust-maintainers