tree: 8307eedcde9868b6e3f68399b8d6c5996a674de5 [path history] [tgz]
  1. filters/
  2. chromium.android.fyi.json
  3. chromium.android.json
  4. chromium.angle.json
  5. chromium.chrome.json
  6. chromium.chromiumos.json
  7. chromium.full.json
  8. chromium.fyi.json
  9. chromium.goma.json
  10. chromium.gpu.fyi.json
  11. chromium.gpu.json
  12. chromium.json
  13. chromium.linux.json
  14. chromium.mac.json
  15. chromium.memory.full.json
  16. chromium.memory.fyi.json
  17. chromium.memory.json
  18. chromium.perf.fyi.json
  19. chromium.perf.json
  20. chromium.webkit.json
  21. chromium.webrtc.fyi.json
  22. chromium.webrtc.json
  23. chromium.win.json
  24. chromium_memory_trybot.json
  25. chromium_win8_trybot.json
  26. client.v8.branches.json
  27. client.v8.chromium.json
  28. client.v8.fyi.json
  29. gn_isolate_map.pyl
  30. manage.py
  31. OWNERS
  32. PRESUBMIT.py
  33. README.md
  34. timeouts.py
  35. trybot_analyze_config.json
  36. tryserver.blink.json
  37. tryserver.chromium.linux.json
  38. tryserver.chromium.mac.json
  39. tryserver.chromium.perf.json
  40. tryserver.chromium.win.json
  41. tryserver.v8.json
testing/buildbot/README.md

Buildbot Testing Configuration Files

The files in this directory control how tests are run on the Chromium buildbots. In addition to specifying what tests run on which builders, they also specify special arguments and constraints for the tests.

A tour of the directory

  • <master_name>.json -- buildbot configuration json files. These are used to configure what tests are run on what builders, in addition to specifying builder-specific arguments and parameters.
  • gn_isolate_map.pyl -- maps Ninja build target names to GN labels. Allows for certain overrides to get certain tests targets to work with GN (and properly run when isolated).
  • trybot_analyze_config.json -- used to provide exclusions to the analyze step on trybots.
  • filters/ -- filters out tests that shouldn't be run in a particular mode.
  • timeouts.py -- calculates acceptable timeouts for tests by analyzing their execution on swarming.
  • manage.py -- makes sure the buildbot configuration json is in a standardized format.

How the files are consumed

Buildbot configuration json

Logic in the Chromium recipe looks up each builder for each master and test generators in chromium_tests/steps.py parse the data. For example, as of a6e11220 generate_gtest parses any entry in a builder's ‘gtest_tests’ entry.

How to edit

Making the changes

Buildbot configuration json

After editing any buildbot json, run ./manage.py -w to load and write in the canonical format. Then commit as normal.

Note that trybots mirror regular waterfall bots, with the mapping defined in trybots.py. This means that, as of 81fcc4bc, if you want to edit linux_android_rel_ng, you actually need to edit Android Tests.

Trying the changes on trybots

You should be able to try build changes that affect the trybots directly (for example, adding a test to linux_android_rel_ng should show up immediately in your tryjob). Non-trybot changes have to be landed manually :(.

Capacity considerations when editing the buildbot configuration json

When adding tests or bumping timeouts in the buildbot configuration json, care must be taken to ensure the infrastructure has capacity to handle the extra load. This is especially true for the established Chromium CQ builders, as they operate under strict execution requirements. Make sure to get an infrastructure engineer on the Crossover Team to sign off that there is both buildbot and swarming capacity available.