dashboard, cmd/gomote: remove the linux-386-387 builder

The linux-386-387 was only in use for Go 1.15 development. It is being
removed as there is no further development for Go 1.15.

For golang/go#40255
For golang/go#41799

Change-Id: If636c0099bce195e227a5036842ace92e8305fc9
Reviewed-on: https://go-review.googlesource.com/c/build/+/342895
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/cmd/gomote/gomote.go b/cmd/gomote/gomote.go
index 87ec0ca..84fc46a 100644
--- a/cmd/gomote/gomote.go
+++ b/cmd/gomote/gomote.go
@@ -50,7 +50,7 @@
     -builderenv string
           Optional alternate builder to act like. Must share the same
           underlying buildlet host type, or it's an error. For
-          instance, linux-amd64-race or linux-386-387 are compatible
+          instance, linux-amd64-race is compatible
           with linux-amd64, but openbsd-amd64 and openbsd-386 are
           different hosts.
     -debug
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 8d8d053..814fc41 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -1549,17 +1549,6 @@
 		env:      []string{"GOARCH=386", "GOHOSTARCH=386", "GO386=softfloat"},
 	})
 	addBuilder(BuildConfig{
-		Name:  "linux-386-387",
-		Notes: "GO386=387",
-		buildsRepo: func(repo, branch, goBranch string) bool {
-			// GO386=387 is removed in Go 1.16 (golang.org/issue/40255).
-			// It's still supported in Go 1.15.
-			return atMostGo1(goBranch, 15) && (repo == "go" || repo == "crypto")
-		},
-		HostType: "host-linux-jessie",
-		env:      []string{"GOARCH=386", "GOHOSTARCH=386", "GO386=387"},
-	})
-	addBuilder(BuildConfig{
 		Name:       "linux-amd64",
 		HostType:   "host-linux-stretch",
 		tryBot:     defaultTrySet(),
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index 58aa48a..abc8e94 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -372,12 +372,6 @@
 		{b("linux-386-softfloat", "crypto"), onlyPost},
 		{b("linux-386-softfloat@go1.16", "crypto"), onlyPost},
 		{b("linux-386-softfloat@go1.15", "crypto"), none},
-		{b("linux-386-387", "crypto"), none},
-		{b("linux-386-387@go1.16", "crypto"), none},
-		{b("linux-386-387@go1.15", "crypto"), onlyPost},
-		{b("linux-386-387@go1.15", "crypto@1.15"), onlyPost},
-		{b("linux-386-387@go1.15", "build"), none},
-		{b("linux-386-387@go1.14", "crypto"), onlyPost},
 		{b("linux-arm-arm5spacemonkey@go1.15", "net"), none},
 		{b("linux-arm-arm5spacemonkey", "exp"), none},
 		{b("linux-arm-arm5spacemonkey", "mobile"), none},