chops-weetbix.cfg 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. # Schema for this config file: ProjectConfig in:
  2. # https://luci-config.appspot.com/schemas/projects:chops-weetbix.cfg
  3. bug_filing_threshold {
  4. presubmit_runs_failed {
  5. one_day: 3
  6. }
  7. critical_failures_exonerated {
  8. three_day: 1
  9. }
  10. }
  11. clustering {
  12. test_name_rules {
  13. name: "Blink Web Tests"
  14. # To match blink_web_tests as well as webgpu_blink_web_tests and any others.
  15. pattern: "^ninja://:(?P<target>\\w*blink_web_tests)/(virtual/[^/]+/)?(?P<test>([^/]+/)+[^/]+\\.[a-zA-Z]+).*$"
  16. like_template: "ninja://:${target}/%${test}%"
  17. }
  18. test_name_rules {
  19. name: "Google Test (Value-parameterized)"
  20. pattern: "^ninja:(?P<target>[\\w/]+:\\w+)/(\\w+/)?(?P<suite>\\w+)\\.(?P<test>\\w+)/[\\w.]+$"
  21. like_template: "ninja:${target}/%${suite}.${test}%"
  22. }
  23. test_name_rules {
  24. name: "Google Test (Type-parameterized)"
  25. pattern: "^ninja:(?P<target>[\\w/]+:\\w+)/(\\w+/)?(?P<suite>\\w+)/\\w+\\.(?P<test>\\w+)$"
  26. like_template: "ninja:${target}/%${suite}/%.${test}"
  27. }
  28. test_name_rules {
  29. name: "JUnit Test (Parameterized)"
  30. # Matches parameterized JUnit tests like:
  31. # ninja://android_webview/test:webview_instrumentation_test_apk/org.chromium.android_webview.test.MyTest#testFoo__parameter1
  32. # Also matches tests parameterized with different command line flags,
  33. # as constructed by https://source.chromium.org/chromium/chromium/src/+/main:build/android/pylib/instrumentation/instrumentation_test_instance.py?q=%22def%20GetUniqueTestName(%22
  34. # E.g. ninja://chrome/android:chrome_public_test_apk/org.chromium.chrome.browser.omnibox.OmniboxTest#testDefaultText_with___disable_features=SpannableInlineAutocomplete
  35. pattern: "^ninja:(?P<target>[\\w/]+:\\w+)/(?P<class>[\\w$.]+)#(?P<test>\\w+?)(?P<sep>__|_with_)[\\w.=,]+$"
  36. like_template: "ninja:${target}/${class}#${test}${sep}%"
  37. }
  38. }
  39. monorail {
  40. project: "chromium"
  41. default_field_values {
  42. # Type field.
  43. field_id: 10
  44. value: "Bug"
  45. }
  46. priority_field_id: 11
  47. priorities {
  48. priority: "0"
  49. threshold {
  50. presubmit_runs_failed {
  51. one_day: 20
  52. }
  53. }
  54. }
  55. priorities {
  56. priority: "1"
  57. threshold {
  58. presubmit_runs_failed {
  59. one_day: 10
  60. }
  61. }
  62. }
  63. priorities {
  64. priority: "2"
  65. threshold {
  66. # Clusters which fail to meet this threshold will be closed.
  67. presubmit_runs_failed {
  68. seven_day: 1
  69. }
  70. critical_failures_exonerated {
  71. seven_day: 1
  72. }
  73. }
  74. }
  75. priority_hysteresis_percent: 50
  76. monorail_hostname: "bugs.chromium.org"
  77. display_prefix: "crbug.com"
  78. }
  79. realms {
  80. name: "ci"
  81. test_variant_analysis {
  82. update_test_variant_task {
  83. update_test_variant_task_interval {
  84. seconds: 3600 # 1 hour
  85. }
  86. test_variant_status_update_duration {
  87. seconds: 86400 # 24 hours
  88. }
  89. }
  90. bq_exports {
  91. table {
  92. cloud_project: "chrome-flakiness"
  93. dataset: "weetbix"
  94. table: "ci_flaky_test_variants"
  95. }
  96. predicate {
  97. status: FLAKY
  98. }
  99. }
  100. }
  101. }
  102. realms {
  103. name: "try"
  104. test_variant_analysis {
  105. update_test_variant_task {
  106. update_test_variant_task_interval {
  107. seconds: 3600 # 1 hour
  108. }
  109. test_variant_status_update_duration {
  110. seconds: 86400 # 24 hours
  111. }
  112. }
  113. bq_exports {
  114. table {
  115. cloud_project: "chrome-flakiness"
  116. dataset: "weetbix"
  117. table: "try_flaky_test_variants"
  118. }
  119. predicate {
  120. status: FLAKY
  121. }
  122. }
  123. }
  124. }