cros trybot: warn that by default HWTests are not run |
|||
Issue descriptionThis CL: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/760486 Passed PreCQ twice, but failed the CQ. The reason for that is that HWTests are disabled on paladin trybots. Why do we do that? edgar-paladin: The HWTest [bvt-cq] stage failed: ** HWTest failed (code 1) ** in https://luci-milo.appspot.com/buildbot/chromeos/edgar-paladin/1421 cyan-paladin: The HWTest [bvt-arc] stage failed: ** HWTest failed (code 1) ** in https://luci-milo.appspot.com/buildbot/chromeos/cyan-paladin/4519 quawks-paladin: The HWTest [bvt-arc] stage failed: ** HWTest failed (code 1) ** in https://luci-milo.appspot.com/buildbot/chromeos/quawks-paladin/1420 wizpig-paladin: The HWTest [bvt-inline] stage failed: ** HWTest failed (code 1) ** in https://luci-milo.appspot.com/buildbot/chromeos/wizpig-paladin/1544 However, {edgar, cyan, quawks, wizpig}-paladin trybots passed: https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/paladin/builds/4412 https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/paladin/builds/4413 https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/paladin/builds/4414 https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/paladin/builds/4415 Without trybot repro, this is impossible to diagnose.
,
Nov 17 2017
Ah thank you, that's good to know. Any reason why that's not the default? Can we at least add a warning? I don't think most people know this.
,
Nov 17 2017
nxia is correct. We disable them by default because we don't have the lab capacity to handle unplanned load very well. Even if you enable them, tryjob hwtests should only be consider "best effort" since there may or may not be any DUTs available to run them. Further, it's possible for tryjob hwtests to interfere with normal testing (mostly only a problem when weekly test suites are running). From a lab management point of view, we'd love to fully disable them. From a developer support point of view, we'd love to enable them by default. What we have now is the compromise.
,
Nov 17 2017
Would you accept a CL with a text warning?
,
Nov 17 2017
Sure. It would be best if it only issues the warning if the build config in question includes hwtests to start with.
,
Nov 17 2017
Where does that mapping live?
,
Nov 17 2017
cli/cros/cros_tryjob. VerifyOptions is the right place for the warning. It already lookups up config_lib.BuildConfig to see if they are production configs (for master, we can't for branched configs). One you have a config_lib.BuildConfig object, you can test for hwtests with: if build_config.hwtests and now options.hwtests: # Issue warning.
,
Nov 17 2017
You can run the unitests with: chromite/cli/cros/cros_tryjob_unittest
,
Nov 20 2017
,
May 31 2018
Hi, this bug has not been updated recently and remains untriaged. Please acknowledge the bug and provide status within two weeks (6/8/2018), or the bug will be closed. Thank you.
,
Jun 1 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by nxia@chromium.org
, Nov 17 2017