You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/07/17 20:27:05 UTC

[jira] [Created] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org