Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6254

Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sarowe Steven Rowe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: