[nobuildbot] Copy timeouts from swarm_trigger
BUG=skia: TBR=benjaminwagner GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4642 Change-Id: Ia81609af8ae11c0171c99c459e8711fa786c1e20 Reviewed-on: https://skia-review.googlesource.com/4642 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
This commit is contained in:
parent
03c9f566d8
commit
1f2f64b4ce
@ -374,9 +374,11 @@ func doUpload(name string) bool {
|
||||
// generated chain of tasks, which the Job should add as a dependency.
|
||||
func test(b *specs.TasksCfgBuilder, name string, parts map[string]string, compileTaskName string, pkgs []*specs.CipdPackage) string {
|
||||
s := &specs.TaskSpec{
|
||||
CipdPackages: pkgs,
|
||||
Dependencies: []string{compileTaskName},
|
||||
Dimensions: swarmDimensions(parts),
|
||||
CipdPackages: pkgs,
|
||||
Dependencies: []string{compileTaskName},
|
||||
Dimensions: swarmDimensions(parts),
|
||||
ExecutionTimeout: 4 * time.Hour,
|
||||
Expiration: 20 * time.Hour,
|
||||
ExtraArgs: []string{
|
||||
"--workdir", "../../..", "swarm_test",
|
||||
fmt.Sprintf("repository=%s", specs.PLACEHOLDER_REPO),
|
||||
@ -391,8 +393,9 @@ func test(b *specs.TasksCfgBuilder, name string, parts map[string]string, compil
|
||||
fmt.Sprintf("patch_issue=%s", specs.PLACEHOLDER_ISSUE),
|
||||
fmt.Sprintf("patch_set=%s", specs.PLACEHOLDER_PATCHSET),
|
||||
},
|
||||
Isolate: "test_skia.isolate",
|
||||
Priority: 0.8,
|
||||
IoTimeout: 40 * time.Minute,
|
||||
Isolate: "test_skia.isolate",
|
||||
Priority: 0.8,
|
||||
}
|
||||
if strings.Contains(parts["extra_config"], "Valgrind") {
|
||||
s.ExecutionTimeout = 9 * time.Hour
|
||||
@ -435,9 +438,11 @@ func test(b *specs.TasksCfgBuilder, name string, parts map[string]string, compil
|
||||
// generated chain of tasks, which the Job should add as a dependency.
|
||||
func perf(b *specs.TasksCfgBuilder, name string, parts map[string]string, compileTaskName string, pkgs []*specs.CipdPackage) string {
|
||||
s := &specs.TaskSpec{
|
||||
CipdPackages: pkgs,
|
||||
Dependencies: []string{compileTaskName},
|
||||
Dimensions: swarmDimensions(parts),
|
||||
CipdPackages: pkgs,
|
||||
Dependencies: []string{compileTaskName},
|
||||
Dimensions: swarmDimensions(parts),
|
||||
ExecutionTimeout: 4 * time.Hour,
|
||||
Expiration: 20 * time.Hour,
|
||||
ExtraArgs: []string{
|
||||
"--workdir", "../../..", "swarm_perf",
|
||||
fmt.Sprintf("repository=%s", specs.PLACEHOLDER_REPO),
|
||||
@ -452,8 +457,9 @@ func perf(b *specs.TasksCfgBuilder, name string, parts map[string]string, compil
|
||||
fmt.Sprintf("patch_issue=%s", specs.PLACEHOLDER_ISSUE),
|
||||
fmt.Sprintf("patch_set=%s", specs.PLACEHOLDER_PATCHSET),
|
||||
},
|
||||
Isolate: "perf_skia.isolate",
|
||||
Priority: 0.8,
|
||||
IoTimeout: 40 * time.Minute,
|
||||
Isolate: "perf_skia.isolate",
|
||||
Priority: 0.8,
|
||||
}
|
||||
if strings.Contains(parts["extra_config"], "Valgrind") {
|
||||
s.ExecutionTimeout = 9 * time.Hour
|
||||
|
@ -383,6 +383,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -399,6 +401,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -429,6 +432,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -445,6 +450,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -475,6 +481,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -491,6 +499,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -521,6 +530,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -537,6 +548,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -567,6 +579,8 @@
|
||||
"os:Ubuntu",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -583,6 +597,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -612,6 +627,8 @@
|
||||
"os:iOS-9.3.1",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -628,6 +645,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -657,6 +675,8 @@
|
||||
"os:iOS-9.3.1",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -673,6 +693,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "perf_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -703,6 +724,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -719,6 +742,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -749,6 +773,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -765,6 +791,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -795,6 +822,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -811,6 +840,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -841,6 +871,8 @@
|
||||
"os:Android",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -857,6 +889,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -887,6 +920,8 @@
|
||||
"os:Ubuntu",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -903,6 +938,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -932,6 +968,8 @@
|
||||
"os:iOS-9.3.1",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -948,6 +986,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
@ -977,6 +1016,8 @@
|
||||
"os:iOS-9.3.1",
|
||||
"pool:Skia"
|
||||
],
|
||||
"execution_timeout_ns": 14400000000000,
|
||||
"expiration_ns": 72000000000000,
|
||||
"extra_args": [
|
||||
"--workdir",
|
||||
"../../..",
|
||||
@ -993,6 +1034,7 @@
|
||||
"patch_issue=<(ISSUE)",
|
||||
"patch_set=<(PATCHSET)"
|
||||
],
|
||||
"io_timeout_ns": 2400000000000,
|
||||
"isolate": "test_skia.isolate",
|
||||
"priority": 0.8
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user