New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux RNG device, random device, and pseudo-random device are all inaccessible #1913
Comments
This probably supersedes #1495. My initial guess is that we probably won't support it. @roidrage @joshk @svenfuchs Opinions? |
From #1495:
I don't mind not having a real RNG - the problem is that I get the same "Operation not permitted" error when trying to use `/dev/urandom' - using this device would speed up tests considerably, and leave alone the host VMs entropy pool for more important things. |
The problem is that I'm not sure if it's possible to somehow “disconnect” |
Okay, here is a workaround for this issue: remove the existing Next, create Install a replacement
Tell
Finally, install the My builds/tests are now down to under 2 minutes (from 7+ minutes) - yay! Again - this isn't a fix obviously, just a workaround - so hopefully the implementation of what @henrikhodne suggested will be what closes this ticket :) |
@henrikhodne do you think this is worth investigating further or is the workaround sufficient? |
I guess I just went through the same ordeal that dozens of Travis CI users have experienced, trying to get an entropy hungry part of my test suite to run to completion without timing out on inactivity.
Here's my working .travis.yml. Thanks to @nima for coming up with a solution! Now I can finally focus on improving my software again :-) |
@xolox you are a god among men |
On GCE, I believe |
You can now get virtio-rng on GCE: |
This is the
.travis.yml
file I used for showing the problem:And here is the output:
The text was updated successfully, but these errors were encountered: