Opened 13 years ago

Last modified 9 years ago

#967 new task

IZ26: testsuite test for Gridengine IZ 1087

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=26]

        Issue #:      26              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:     testsuite test for Gridengine IZ 1087
   Status whiteboard:
      Attachments:

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


   Opened: Mon Nov 13 03:45:00 -0700 2006 
------------------------


This was IZ 1095 in project gridengine.

The fix for bug 1087 has been tested by hand and
has to be added to the testsuite:

Done messages tests for serial jobs and array jobs:
- all queues disabled     -> 1 message per disabled queue   -> okay
- overloaded queues       -> 1 message per overloaded queue -> okay
- none existing attribute -> 1 job message per category     -> okay
- exeeded consumable      -> 1 job message per category     -> okay

----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------

Soft request test:

Setup:
- 3 queues
- 1 consumable: test2 : configured for queue1 with test2=2
- 2 fixed attributes:
   - test1: configured for queue1 and queue2 with test1=2
   - test3: configured for queue1 with test3=2

Qsub:
-soft -l test1=2 -l test3=2 ....

output without softrequest (based on sequence number):
- queue3
- queue2
- queue1

expected output with softrequest:
- queue1
- queue2
- queue3

Results:
- consumable as a soft request -> failed                                      ->
okay
- qstat -j                     -> soft resource_list:         test1=2,test3=2 ->
okay
- expected order               ->                                             ->
okay
- expected jobs (6)            ->  6                                          ->
okay

----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------

jobs from multiple job categories

Setup:
queue1 : consumable1=2, slots 4
queue2 : consumable2=2, slots 4
queue3 : consumable3=2, slots 4

jobs:
3x consumable1=1, Name=c1, priority=100
3x consumable2=1, Name=c2, priority=100
3x consumable3=1, Name=c3, priority=100
8x Name=sleeper, priority=0

Result:
 queue1:
  2x job c1
  2x job sleeper

 queue2:
  2x job c2
  2x job sleeper

 queue3:
  2x job c3
  2x sleeper

result as expected -> okay

----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------

Parallel jobs:
qsub -pe make 4- $SGE_ROOT/examples/jobs/sleeper.sh
 -> 12 slots -> okay
qsub -pe make 4-8 $SGE_ROOT/examples/jobs/sleeper.sha
 ->  8 slots -> okay
qsub -pe make 4 $SGE_ROOT/examples/jobs/sleeper.sh
 ->  4 slots -> okay
qsub -pe make 1-3 -soft -l test1=1 -l test2=1 $SGE_ROOT/examples/jobs/sleeper.sh
->  3 slots -> okay
soft request matching to queues (same test as with serial jobs)
 ->          -> okay

Change History (0)

Note: See TracTickets for help on using tickets.