On Wed, Oct 14, 2020 at 04:50:16PM +0800, Ren Wen wrote:
On Wed, Oct 14, 2020 at 04:35:35PM +0800, Wu Fengguang wrote:
On Wed, Oct 14, 2020 at 03:12:47PM +0800, Ren Wen wrote:
Use testbox to find and submit idle jobs because of different types of physical machines have different type of jobs.
Before: find and submit idle jobs using tbox_group queues. Now: find and submit using testbox queues.
Example: There has a testbox: taishan200-2280-2s48p-256g--a14 Before: using 'taishan200-2280-2s48p-256g'
But tbox_group is below value, not the above one.
Um... I have the wrong comprehend.
testbox : taishan200-2280-2s48p-256g--a14-[<sn>] tbox : taishan200-2280-2s48p-256g--a14 tbox_group : taishan200-2280-2s48p-256g
tbox_group is defined in ~/lkp-tests/lib/result.rb
def tbox_group(hostname) # special case 1: $tbox_group contains -N- # hostname: daixiang-HP-ProBook-450-G3-0 # return: daixiang-HP-ProBook-450-G3 # special case 2: $vm_tbox_group--$host_testbox-$seqno # hostname: vm-hi1620-2p8g--taishan200-2280-2s64p-256g-3-0 # return: vm-hi1620-2p8g--taishan200-2280-2s64p-256g hostname.sub(/(-\d+)+$/, '') end
BTW, the '--' rule could be confusing. I'm planning to drop this concept and add explicit "queue" field to decouple testbox name with queue name. Then we no longer need the --$USER trick.
Thanks, Fengguang