1. The test-server thread repeatedly throws "socket.timeout: The read operation timed out", resulting in a lot of tests failing due to errors. 2. Eventually the tests hang. This might be the same thing as Bug #805155, as the hang appears in roughly the same place.
Created attachment 730167 [details] build.log
Is this a regression compared to 0.15.3?
This is probably the same as bug #803515. I can grep a few 'listen(0)' instances. I'll see if I can reproduce and make a patch.
(In reply to Michał Górny from comment #3) > This is probably the same as bug #803515. I can grep a few 'listen(0)' > instances. I'll see if I can reproduce and make a patch. Ok, it's not that. It seems that listen(0) is only used when they don't intend to connect at all.
(In reply to Michał Górny from comment #2) > Is this a regression compared to 0.15.3? It is not, it seems all versions currently in the tree have this problem.
Could you verify that libuv itself is 100% fine (i.e. passes tests) on your machine? I'm afraid that in the end you'll have to either figure it out yourself or request upstream's help (but I honestly doubt they have access to any riscv hw).
(In reply to Michał Górny from comment #6) > Could you verify that libuv itself is 100% fine (i.e. passes tests) on your > machine? On amd64 tests eventually hang (same as in Bug #805155) but until that point, no errors or failures are reported. > I'm afraid that in the end you'll have to either figure it out yourself or > request upstream's help (but I honestly doubt they have access to any riscv > hw). Fair enough. Not sure why riscv was even added to the uvloop re-keywording bug in the first place, seeing as according to Git history it had never been keyworded on this arch before.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18bd78ce2b2f93390ec3ceb14171bc0b3b6e17f commit a18bd78ce2b2f93390ec3ceb14171bc0b3b6e17f Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-08-05 10:55:00 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-08-05 10:55:00 +0000 dev-python/uvloop: keyword for -riscv In addition to the tests-suite hang also observed on amd64, a lot of tests fail due to time-out on the test-server thread. Bug: https://bugs.gentoo.org/806412 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-python/uvloop/uvloop-0.15.2.ebuild | 4 ++-- dev-python/uvloop/uvloop-0.15.3-r1.ebuild | 2 +- dev-python/uvloop/uvloop-0.15.3.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
...probably as a dependency of something.
(In reply to Michał Górny from comment #6) > Could you verify that libuv itself is 100% fine (i.e. passes tests) on your > machine? Oops, I misread this earlier. The test suite of dev-libs/libuv-1.41.1 gives me a single test failure, exactly as described in Bug #794853, on both amd64 and riscv.