Opened 10 years ago

Last modified 7 years ago

#1077 new enhancement

IZ136: Enhancement for system_tests/scheduler/resource_reservation needed

Reported by: andreas Owned by:
Priority: high Milestone:
Component: testsuite Version: current
Severity: Keywords: tests
Cc:

Description

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

        Issue #:      136             Platform:     All           Reporter: andreas (andreas)
       Component:     testsuite          OS:        All
     Subcomponent:    tests           Version:      current          CC:    None defined
        Status:       NEW             Priority:     P2
      Resolution:                    Issue type:    ENHANCEMENT
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
          URL:
       * Summary:     Enhancement for system_tests/scheduler/resource_reservation needed
   Status whiteboard:
      Attachments:

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


   Opened: Fri Jul 27 04:33:00 -0700 2007 
------------------------


There is a need to enhance the resource reservation scheduler system test. As of
now bottleneck resource with parallel reservation tests is always the PE slots
resource. There is missing a set of tests that verifies parallel reservation
works  also when the bottleneck resource is global-, host-, or queue instance-based.

Such a test would have found

"Parallel RR broken if jobs wait for queue slots and no RQS configured"
http://gridengine.sunsource.net/issues/show_bug.cgi?id=2338

enhancing system_tests/scheduler/resource_reservation should easily be doable if
the testsuite  function get_job_descriptions() is enhanced like this

      "license_par" {
         set job_desc1 "-R y -pe pe_slots 1 -N L4_BF -p 100 -l
h_rt=$runtime_def,license=4"
         set job_desc2 "-R y -pe pe_slots 1 -N L5_BF -p 0 -l
h_rt=$runtime_def,license=5"
         set job_desc3 "-R y -pe pe_slots 1 -N L1_BF -p 0 -l
h_rt=$runtime_long,license=1"
      }
      "array_par" {
         set job_desc1 "-R y -pe pe_slots 1 -N L4_BF -p 100 -l
h_rt=$runtime_def,license=4"
         set job_desc2 "-t 1-2 -R y -pe pe_slots 1 -N L5_BF -p 0 -l
h_rt=$runtime_def,license=2.5"
         set job_desc3 "-R y -pe pe_slots 1 -N L1_BF -p 0 -l
h_rt=$runtime_long,license=1"
      }
      "memory_par" {
         set job_desc1 "-R y -pe pe_slots 1 -N L4_BF -p 100 -l
h_rt=$runtime_def,h_vmem=4G"
         set job_desc2 "-R y -pe pe_slots 1 -N L5_BF -p 0 -l
h_rt=$runtime_def,h_vmem=5G"
         set job_desc3 "-R y -pe pe_slots 1 -N L1_BF -p 0 -l
h_rt=$runtime_long,h_vmem=1G"
      }
      "myslots_par" {
         set job_desc1 "-R y -pe pe_slots 1 -N L4_BF -p 100 -l
h_rt=$runtime_def,myslots=4"
         set job_desc2 "-R y -pe pe_slots 1 -N L5_BF -p 0 -l
h_rt=$runtime_def,myslots=5"
         set job_desc3 "-R y -pe pe_slots 1 -N L1_BF -p 0 -l
h_rt=$runtime_long,myslots=1"
      }

as a matter of course the new tests "license_par", "array_par", "memory_par",
and "myslots_par" must also be called in resource_reservation_basic() both in
"backfill" and "reservation" mode.

Change History (0)

Note: See TracTickets for help on using tickets.