Opened 12 years ago

Last modified 8 years ago

#998 new task

IZ57: Reservation tests should deal net vs. gross job runtimes

Reported by: joga Owned by:
Priority: normal Milestone:
Component: testsuite Version: current
Severity: Keywords: tests
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=57]

        Issue #:      57              Platform:     All           Reporter: joga (joga)
       Component:     testsuite          OS:        All
     Subcomponent:    tests           Version:      current          CC:    None defined
        Status:       NEW             Priority:     P3
      Resolution:                    Issue type:    TASK
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
          URL:
       * Summary:     Reservation tests should deal net vs. gross job runtimes
   Status whiteboard:
      Attachments:

     Issue 57 blocks:
   Votes for issue 57:     Vote for this issue


   Opened: Fri Nov 17 01:43:00 -0700 2006 
------------------------


This was IZ 1664 in project gridengine.

A test should be added to testsuite to detect possible bugs with resource
reservation due to the difference between net and gross job runtimes.
The new sched_conf(5) parameter "DURATION_OFFSET" allows dealing with those
differences. To cause a high difference between net and gross job runtimes a
queue configuration such as

   prolog                /bin/sleep 5
   epilog                /bin/sleep 5

can be used. If a job that requests requested reservation is delayed repeatedly

> grep ^41647 $SGE_ROOT/default/common/schedule | cut -f 1-5 -d: | uniq
41647:1:RESERVING:1118756149:3610
41647:1:RESERVING:1118756150:3610
41647:1:STARTING:1118756147:3610
41647:1:RUNNING:1118756147:3610

this is an outcome of a too low duration offset and could be used to detect bug
#1662.

Change History (0)

Note: See TracTickets for help on using tickets.