1# Schema for this config file: ProjectConfig in: 2# https://luci-config.appspot.com/schemas/projects:luci-analysis.cfg 3bug_filing_threshold { 4 presubmit_runs_failed { 5 # clusters blocking developers should have bugs filed. 6 one_day: 3 7 } 8 test_runs_failed { 9 # clusters that aren't blocking developers but are failing a significant 10 # amount of tasks should have bugs filed to look into optimizing machine 11 # resource usage. 12 one_day: 500 13 } 14} 15clustering { 16 test_name_rules { 17 name: "Google Test (Type-parameterized)" 18 pattern: "^ninja:(?P<target>[\\w/]+:\\w+)/(\\w+/)?(?P<suite>\\w+)/\\w+\\.(?P<case>\\w+)$" 19 like_template: "ninja:${target}/%${suite}/%.${case}" 20 } 21 test_name_rules { 22 name: "Google Test (Value-parameterized)" 23 pattern: "^ninja:(?P<target>[\\w/]+:\\w+)/(\\w+/)?(?P<suite>\\w+)\\.(?P<case>\\w+)/[\\w.]+$" 24 like_template: "ninja:${target}/%${suite}.${case}%" 25 } 26} 27monorail { 28 project: "webrtc" 29 default_field_values { 30 # Type field. 31 field_id: 10 32 value: "Bug" 33 } 34 priority_field_id: 11 35 priorities { 36 priority: "0" 37 threshold { 38 presubmit_runs_failed { 39 one_day: 20 40 } 41 } 42 } 43 priorities { 44 priority: "1" 45 threshold { 46 presubmit_runs_failed { 47 one_day: 10 48 } 49 } 50 } 51 priorities { 52 priority: "2" 53 threshold { 54 presubmit_runs_failed { 55 one_day: 2 56 } 57 } 58 } 59 priorities { 60 priority: "3" 61 threshold { 62 # Clusters which fail to meet this threshold will be closed. 63 test_runs_failed { 64 one_day: 2 65 } 66 presubmit_runs_failed { 67 one_day: 1 68 seven_day: 1 69 } 70 } 71 } 72 priority_hysteresis_percent: 50 73 monorail_hostname: "bugs.chromium.org" 74 display_prefix: "bugs.webrtc.org" 75} 76 77realms { 78 name: "ci" 79 test_variant_analysis { 80 update_test_variant_task { 81 update_test_variant_task_interval { 82 seconds: 3600 # 1 hour 83 } 84 test_variant_status_update_duration { 85 seconds: 86400 # 24 hours 86 } 87 } 88 bq_exports { 89 table { 90 cloud_project: "webrtc-ci" 91 dataset: "weetbix" 92 table: "ci_flaky_test_variants" 93 } 94 predicate { 95 status: FLAKY 96 } 97 } 98 } 99} 100 101realms { 102 name: "try" 103 test_variant_analysis { 104 update_test_variant_task { 105 update_test_variant_task_interval { 106 seconds: 3600 # 1 hour 107 } 108 test_variant_status_update_duration { 109 seconds: 86400 # 24 hours 110 } 111 } 112 bq_exports { 113 table { 114 cloud_project: "webrtc-ci" 115 dataset: "weetbix" 116 table: "try_flaky_test_variants" 117 } 118 predicate { 119 status: FLAKY 120 } 121 } 122 } 123} 124