Skip to content

Commit

Permalink
dashboard: stop linux-loong64 builders
Browse files Browse the repository at this point in the history
All linux/loong64 builders have been ported.

Updates golang/go#63471

Change-Id: Ic60654595c173ac9d869827bdcaac134b5454889
Reviewed-on: https://go-review.googlesource.com/c/build/+/585295
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: abner chenc <chenguoqi@loongson.cn>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
abner-chenc authored and gopherbot committed May 14, 2024
1 parent b0dd12e commit 4ff362b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
18 changes: 15 additions & 3 deletions dashboard/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ var slowBotAliases = map[string]string{
"linux-ppc64le": "",
"linux-ppc64le-power9": "",
"linux-ppc64le-power10": "",
"loong64": "",
"linux-loong64": "",

"386": "linux-386",
"aix": "aix-ppc64",
Expand Down Expand Up @@ -72,15 +74,13 @@ var slowBotAliases = map[string]string{
"ios": "ios-arm64-corellium",
"linux": "linux-amd64",
"linux-arm": "linux-arm-aws",
"linux-loong64": "linux-loong64-3a5000",
"linux-mips": "linux-mips-rtrk",
"linux-mips64": "linux-mips64-rtrk",
"linux-mips64le": "linux-mips64le-rtrk",
"linux-mipsle": "linux-mipsle-rtrk",
"linux-riscv64": "linux-riscv64-unmatched",
"linux-s390x": "linux-s390x-ibm",
"longtest": "linux-amd64-longtest",
"loong64": "linux-loong64-3a5000",
"mips": "linux-mips-rtrk",
"mips64": "linux-mips64-rtrk",
"mips64le": "linux-mips64le-rtrk",
Expand Down Expand Up @@ -2937,7 +2937,19 @@ var BuildersPortedToLUCI = map[string]bool{
// stopPortedBuilder reports whether the named ported builder should be stopped,
// instead of just made invisible in the web UI.
func stopPortedBuilder(builderName string) (stop bool) {
return strings.Contains(builderName, "-wasm-") || strings.Contains(builderName, "linux-ppc64")
nameKeyList := []string{
"linux-loong64",
"linux-ppc64",
"-wasm-",
}

for _, key := range nameKeyList {
if strings.Contains(builderName, key) {
return true
}
}

return false
}

// addBuilder adds c to the Builders map after doing some checks.
Expand Down
11 changes: 6 additions & 5 deletions dashboard/builders_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,12 @@ func TestBuilderConfig(t *testing.T) {

{b("linux-amd64", "net"), both},

{b("linux-loong64-3a5000", "go"), onlyPost},
{b("linux-loong64-3a5000@go1.99", "go"), onlyPost},
{b("linux-loong64-3a5000", "sys"), onlyPost},
{b("linux-loong64-3a5000@go1.99", "sys"), onlyPost},
{b("linux-loong64-3a5000", "net"), onlyPost},
// Builders for linux/loong64 are fully ported to LUCI and stopped in the coordinator.
{b("linux-loong64-3a5000", "go"), none},
{b("linux-loong64-3a5000@go1.99", "go"), none},
{b("linux-loong64-3a5000", "sys"), none},
{b("linux-loong64-3a5000@go1.99", "sys"), none},
{b("linux-loong64-3a5000", "net"), none},

// OpenBSD 7.2.
{b("openbsd-amd64-72", "go"), both},
Expand Down

0 comments on commit 4ff362b

Please sign in to comment.