Apex: Fixes scheduling with apex verify 71/51871/1
authorTim Rozet <trozet@redhat.com>
Wed, 7 Feb 2018 21:33:50 +0000 (16:33 -0500)
committerTim Rozet <trozet@redhat.com>
Wed, 7 Feb 2018 21:33:50 +0000 (16:33 -0500)
commit0fd7d86a413c33e80959fe36a41387ad1408d29b
tree675bad22ee662dcd1271c7b2ee8f60afbdcf3a68
parent0b4524bfcd0e406687e2053cf7ef9913b606f635
Apex: Fixes scheduling with apex verify

apex-verify job calls apex-virtual to deploy and run functest.  Apex has
2 virtual slaves attached to the apex-virtual-master label.  When 2
verify jobs are triggered at the same time, apex-verify job is scheduled
on each slave correctly.  However, when the mulitjob triggers
apex-virtual jobs, it only schedules both of them to a single slave.

This happens even though apex-virtual job has the same slave label and
node parameters are not passed from verify job.  This patch changes the
node to be passed to apex-virtual from apex-verify.  That way 2 nodes
will be scheduled on, but this is still not ideal scheduling as more
than 1 verify can run per node (but not more than one virtual job).

Change-Id: I155351c9037f70df2c5dba11bb5592423849e760
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-verify-jobs.yml