Closed epsilon-0 closed 3 years ago
What is a failure here?
Ah sorry, the error message says -
Running hammer test
58% [|||||||||||||||||||||||||||||||||| ]FAILED TO START CONNECTION, WILL EXIT NOW
OK, after some digging, I've managed to figure out that this is exhausting the number of file descriptors allowed for a user. Extending the limits for the user allowed all tests to pass!
But also, not quite sure why does the SSL enabled build need so many more file descriptors (!?).
As an addendum, after getting it to work on Gentoo, I also tried building it on OpenBSD (with libuv) and it seems like it is working nicely with LibreSSL as well. I seem to remember that there was an issue asking to support LibreSSL and it turns out that it works out of the box, just as a note for other users. :heart:
This is after a small fix to load the correct certificates -
where I generated the certificates with
and the localhost.conf contains
After these changes, when built with openssl, the failure starts happening at around 57-60%, its a bit random and not exactly at the same percentage.