Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Tests using SSL can block on Jenkins when random entropy is depleted, causing timeouts that trigger test failures.
I found some info about /dev/random problems on FreeBSD here: https://wiki.freebsd.org/201308DevSummit/Security/DevRandom, which lead me to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a bunch of shit to /dev/random:
( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \ | dd of=/dev/random bs=8k 2>/dev/null cat /bin/ls | dd of=/dev/random bs=8k 2>/dev/null
I think we should try the same strategy in a crontab every X minutes, to see if that addresses the test failures.
Attachments
Issue Links
- duplicates
-
SOLR-5776 Look at speeding up using SSL with tests.
- Resolved