Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dv, dvsim] Add job queue/lic wait timeout in addition to run timeout
The timeout_mins specified in the test list json file or on dvsim command line is intended to be a timeout on the wall time elapsed after the job has started running.It is not intended to count in the time spent in waiting for a compute node and/or a license to become available. Despite best efforts to specify license resource strings, the availability of a compute node doesn't always guarantee the availability of a license as this scheme only works when all jobs from all projects running on the cluster adhere to this license requesting scheme which sadly can't be enforced in a fool proof manner. In the proposed scheme, the file size as a proxy to determine if the job has really started running. While this is not one hundred percent accurate, it prevents false timeouts on jobs/tests that haven't even had a chance to start running because of unavailability of compute or license resources. The file size threshold to determine whether the job has started running has been chosen after carefully analyzing log files of jobs executed successfuly and jobs that were killed while waiting Signed-off-by: Venkat Krishnan <[email protected]>
- Loading branch information