I spent some time looking at this over the weekend, and apparently there's some issue(s) running the integration/uv tests within a continer(-ish) environment.
If I build raft from the .dsc you linked on a physical bookworm
system, or in a sid QEMU-based VM, all the tests pass and the build
succeeds. However, if I try to build within a LXD sid container running
a bookworm host kernel, there are several issues:
* Lots of assertion errors:
> recv/first [ ERROR ]
> Error: test/integration/test_uv_recv.c:256: assertion failed: rv == 0 (18 ==
> 0)
> Error: child killed by signal 6 (Aborted)
> Error: test/integration/test_uv_send.c:141: uv_run: condition not met in 20
> iterations
> Error: child killed by signal 6 (Aborted)
> tcp_connect/first [ ERROR ]
> Error: test/integration/test_uv_tcp_connect.c:47: assertion failed: status ==
> result->status (16 == 0)
> Error: child killed by signal 6 (Aborted)
> tcp_connect/refused [ ERROR ]
> Error: test/integration/test_uv_tcp_connect.c:222: assertion failed: string
> f->transport.errmsg == "uv_tcp_connect(): connection refused"
> ("uv_getaddrinfo(): EAI_NONAME" == "uv_tcp_connect(): connection refused")
> Error: child killed by signal 6 (Aborted)
* And then the test simply hangs here:
> tcp_connect/closeDuringDnsLookupAbort [ OK ] [
> 0.00051087 / 0.00069748 CPU ]
> tcp_connect/closeDuringConnectAbort ^C
I verified that the same issue happens if I try a vanilla build of
the .tar.gz directly from the upstream release, as well as the current
master branch.
Mathias
signature.asc
Description: This is a digitally signed message part

