Uploaded image for project: 'PBS Pro'
  1. PP-1308

test_hold_time_not_counted_in_walltime of "TestMomWalltime" is failing intermittently while checking the walltime of a job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects versions: None
    • Fix versions: None
    • Components: PTL Tests
    • Labels:
      None
    • Sprint:
    • Story Points:
      1

      Description

      • "test_hold_time_not_counted_in_walltime" of "TestMomWalltime" is failing intermittently while checking the walltime of a job

      Error:
      2018-08-11 19:10:07,960 INFOCLI x40-64-centos64: /opt/pbs/bin/qstat -x -f 0.x40-64-centos64
      2018-08-11 19:10:07,990 INFO expect on server x40-64-centos64: resources_used.walltime <= 30 job 0.x40-64-centos64 attempt: 60 got: resources_used.walltime = 31
      2018-08-11 19:10:08,491 INFOCLI x40-64-centos64: /opt/pbs/bin/qmgr -c set server scheduling=True

      Analysis:

      • In the test we are submitting the job of 30 sec and holding the job for around 5 secs.
      • The intent of the test is to verify that the hold time of the job is not included in the walltime.
      • PTL test is failing while verifying this step as the resource walltime is reported is 31.

      Solution Description:

      • There is a 1s difference which is normal, need to modify the test to include the grace period of 5s while verifying this step.
      • Also in the current code we are sleeping for a very small amount of time, increase the sleep time (both in the job script and the time while holding the job)

        Attachments

          Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zulekha mahalty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: