Do not retry G3 tryjobs

NoTry: true
Change-Id: Ib983eed0f3da82160eada2033f3e94e803f8b82f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223138
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 3cc6836..1f26076 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -874,8 +874,8 @@
 
 // attempts returns the desired MaxAttempts for this task.
 func attempts(name string) int {
-	if strings.Contains(name, "Android_Framework") {
-		// The reason for this has been lost to time.
+	if strings.Contains(name, "Android_Framework") || strings.Contains(name, "G3_Framework") {
+		// Both bots can be long running. No need to retry them.
 		return 1
 	}
 	if !(strings.HasPrefix(name, "Build-") || strings.HasPrefix(name, "Upload-")) {
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 4b485f9..028b32f 100755
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -3552,7 +3552,7 @@
       },
       "io_timeout_ns": 10800000000000,
       "isolate": "swarm_recipe.isolate",
-      "max_attempts": 2,
+      "max_attempts": 1,
       "service_account": "skia-external-compile-tasks@skia-swarming-bots.iam.gserviceaccount.com"
     },
     "Build-Debian9-Clang-arm-Debug-Android": {