The method we use to "queue" our on-build-ready testing is having a
separate pool (using Resource Pools) of dedicated test machines for that
purpose.  The builds then have to request a machine from that pool.  If
another job is running on those machines, the new job will have to wait
until a machine is ready.  Example:

* Build finished
* Job 1 requests machine from Pool1
...
* New build finishes
* Job 2 requests machine from Pool 1
* Job 2 waiting...
* Job 1 finishes
* Job 2 continues
* Job 2 finishes

- Paul


                                                                                
                                                              
  From:       Cindy Zhu <c...@fekete.com>                                       
                                                              
                                                                                
                                                              
  To:         "staf-users@lists.sourceforge.net" 
<staf-users@lists.sourceforge.net>                                              
             
                                                                                
                                                              
  Date:       05/10/2011 08:50 AM                                               
                                                              
                                                                                
                                                              
  Subject:    [staf-users] How to put a STAX job in a queue                     
                                                              
                                                                                
                                                              





Hi,

I need to put a STAX job in a queue.

Currently, I have the following STAF command to run a STAX job:

STAF 1693W7.Fekete.com STAX EXECUTE FILE D:\DistributionTesting
\SilkTestDistribution\RunOnTestPCs.xml MACHINE 1693W7.Fekete.com JOBNAME
"Silk" SCRIPT "VERSION='1.1.1.1'" SCRIPT "PRODUCT='HARMONY'"

1693W7.Fekete.com is the test host machine of the test clients. The STAX
job here is to run the regression test on the test clients whenever a build
is ready. We have specific machines to run the regression test for a
specific application. We can only run the same STAX job on those machines
only when the previous STAX job is finished.

Can you please help?

BTW, I searched the forum and I cannot get the exact answer of how to do
this.


Thanks,

Cindy



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

Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to