Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820296 - [guru] net-libs/usockets-0.8.1_p20211023 fails tests
Summary: [guru] net-libs/usockets-0.8.1_p20211023 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 05:51 UTC by Agostino Sarubbo
Modified: 2024-11-14 16:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,40.38 KB, text/plain)
2021-10-26 05:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-10-26 05:51:40 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-26 05:51:42 UTC
Created attachment 746748 [details]
build.log

build log and emerge --info
Comment 2 Fat-Zer 2024-11-13 21:52:13 UTC
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.
Comment 3 Fat-Zer 2024-11-13 22:59:56 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2024-11-14 16:17:30 UTC
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(-)