urandom ======= **Source code:** `urandom.py `_ A factory test to stress CPU, by generating pseudo random numbers. Description ----------- It stresses CPU by generating random number using /dev/urandom for a specified period of time (specified by ``duration_secs``). Test Procedure -------------- This is an automated test without user interaction. Start the test and it will run for the time specified in argument ``duration_secs``, and pass if no errors found; otherwise fail with error messages and logs. Dependency ---------- No dependencies. This test does not support remote DUT. Examples -------- To generate random number and stress CPU for 4 hours, add this in test list:: { "pytest_name": "urandom", "args": { "duration_secs": 14400 } } Test Arguments -------------- .. list-table:: :widths: 20 10 60 :header-rows: 1 :align: left * - Name - Type - Description * - duration_secs - int - How long this test will take?