Steve Rowe created SOLR-6254:
--------------------------------

             Summary: Failing tests due to timeouts caused by SSL depleting 
random entropy on Jenkins
                 Key: SOLR-6254
                 URL: https://issues.apache.org/jira/browse/SOLR-6254
             Project: Solr
          Issue Type: Task
          Components: Tests
            Reporter: Steve Rowe


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:

{code}
( 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
{code}

I think we should try the same strategy in a crontab every X minutes, to see if 
that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to