New issue
Advanced search Search tips

Issue 905441 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

reks bvt doesn't have enough DUTs assigned

Project Member Reported by pprabhu@chromium.org, Nov 14

Issue description

builds be failing because: 

Triggered task: reks-release/R72-11261.0.0-bvt-installer
chromeos-golo-server2-165: 412bee8ff1a2d310 3
  Autotest instance created: cautotest-prod
  TestLabException: Not enough DUTs for requirements: ('board:reks', 'pool:bvt'); required: 4, found: 3
  Traceback (most recent call last):
    File "/usr/local/autotest/site_utils/run_suite.py", line 2000, in _run_task
      return _run_suite(options)
    File "/usr/local/autotest/site_utils/run_suite.py", line 1738, in _run_suite
      options.skip_duts_check)
    File "/usr/local/autotest/site_utils/diagnosis_utils.py", line 320, in check_dut_availability
      hosts=hosts)
  NotEnoughDutsError: Not enough DUTs for requirements: ('board:reks', 'pool:bvt'); required: 4, found: 3
  Will return from run_suite with status: INFRA_FAILURE


well why be surpised dood!

pprabhu@pprabhu:chromiumos$ dut-status -p bvt -m reks
hostname                       S   last checked         URL
chromeos4-row11-rack6-host3    OK  2018-11-14 13:26:24  https://stainless.corp.google.com/browse/chromeos-autotest-results/hosts/chromeos4-row11-rack6-host3/2765118-cleanup/
chromeos4-row11-rack7-host3    OK  2018-11-14 13:34:56  https://stainless.corp.google.com/browse/chromeos-autotest-results/hosts/chromeos4-row11-rack7-host3/2765137-provision/
chromeos4-row11-rack6-host20   OK  2018-11-14 13:27:08  https://stainless.corp.google.com/browse/chromeos-autotest-results/hosts/chromeos4-row11-rack6-host20/2765122-reset/
chromeos2-row6-rack9-host22    OK  2018-11-14 13:26:24  https://stainless.corp.google.com/browse/chromeos-autotest-results/hosts/chromeos2-row6-rack9-host22/2765116-cleanup/


You want good build, give more DUTs
 
pprabhu@pprabhu:chromiumos$ atest host list -b 'board:reks' | count_labels -p
      1 av-flexible
      4 bvt
     23 cts
      1 faft-test
      1 performance
     16 suites
     46 total

steal from suites.

Status: Fixed (was: Started)
pprabhu@pprabhu:chromiumos$ balance-pool -t 6 bvt reks
reks bvt pool: Target of 6 is above minimum.

Balancing ['model:reks'] bvt pool:
Total 4 DUTs, 4 working, 0 broken, 0 reserved.
Target is 6 working DUTs; grow pool by 2 DUTs.
['model:reks'] suites pool has 4 spares available for balancing pool bvt
['model:reks'] bvt pool will return 0 broken DUTs, leaving 0 still in the pool.
Transferring 0 DUTs from bvt to suites.
Transferring 2 DUTs from suites to bvt.
Updating host: chromeos4-row11-rack6-host5.
Removing labels ['pool:suites'] from host chromeos4-row11-rack6-host5
Adding labels ['pool:bvt'] to host chromeos4-row11-rack6-host5
Updating host: chromeos4-row11-rack6-host9.
Removing labels ['pool:suites'] from host chromeos4-row11-rack6-host9
Adding labels ['pool:bvt'] to host chromeos4-row11-rack6-host9

Sign in to add a comment