https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/usockets-0.8.1_p20211023 fails tests. Discovered on: amd64 (internal ref: guru_ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Created attachment 746748 [details] build.log build log and emerge --info
I've looked into this one: the test fails because it runs out of file descriptors with the default ulimit -n = 1024. It runs fine with 2k, but in worst case scenario it may require 10k, so let's round it up to 16k.
On a second thought, default hard ulimit -n is 2048, so it would be less disruptive to try to set it to 10k, warn if it's not possible, try to set it to 2k and die if we fail.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97f47c39bfa2f995da9557c696ce80a5df88aef1 commit 97f47c39bfa2f995da9557c696ce80a5df88aef1 Author: Alexander Golubev <fatzer2@gmail.com> AuthorDate: 2024-11-13 22:53:29 +0000 Commit: Alexander Golubev <fatzer2@gmail.com> CommitDate: 2024-11-13 22:56:38 +0000 net-libs/usockets: update EAPI 7 -> 8 Also: - avoid downloading submodules for live (boringssl is quite bulky) - fix test Closes: https://bugs.gentoo.org/820296 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> net-libs/usockets/usockets-0.8.8.ebuild | 32 +++++++++++++++++++++++--------- net-libs/usockets/usockets-9999.ebuild | 32 +++++++++++++++++++++++--------- 2 files changed, 46 insertions(+), 18 deletions(-)