Skip to content

Commit 4ff362b

Browse files
abner-chencgopherbot
authored andcommitted
dashboard: stop linux-loong64 builders
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 <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Run-TryBot: abner chenc <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent b0dd12e commit 4ff362b

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

dashboard/builders.go

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ var slowBotAliases = map[string]string{
4444
"linux-ppc64le": "",
4545
"linux-ppc64le-power9": "",
4646
"linux-ppc64le-power10": "",
47+
"loong64": "",
48+
"linux-loong64": "",
4749

4850
"386": "linux-386",
4951
"aix": "aix-ppc64",
@@ -72,15 +74,13 @@ var slowBotAliases = map[string]string{
7274
"ios": "ios-arm64-corellium",
7375
"linux": "linux-amd64",
7476
"linux-arm": "linux-arm-aws",
75-
"linux-loong64": "linux-loong64-3a5000",
7677
"linux-mips": "linux-mips-rtrk",
7778
"linux-mips64": "linux-mips64-rtrk",
7879
"linux-mips64le": "linux-mips64le-rtrk",
7980
"linux-mipsle": "linux-mipsle-rtrk",
8081
"linux-riscv64": "linux-riscv64-unmatched",
8182
"linux-s390x": "linux-s390x-ibm",
8283
"longtest": "linux-amd64-longtest",
83-
"loong64": "linux-loong64-3a5000",
8484
"mips": "linux-mips-rtrk",
8585
"mips64": "linux-mips64-rtrk",
8686
"mips64le": "linux-mips64le-rtrk",
@@ -2937,7 +2937,19 @@ var BuildersPortedToLUCI = map[string]bool{
29372937
// stopPortedBuilder reports whether the named ported builder should be stopped,
29382938
// instead of just made invisible in the web UI.
29392939
func stopPortedBuilder(builderName string) (stop bool) {
2940-
return strings.Contains(builderName, "-wasm-") || strings.Contains(builderName, "linux-ppc64")
2940+
nameKeyList := []string{
2941+
"linux-loong64",
2942+
"linux-ppc64",
2943+
"-wasm-",
2944+
}
2945+
2946+
for _, key := range nameKeyList {
2947+
if strings.Contains(builderName, key) {
2948+
return true
2949+
}
2950+
}
2951+
2952+
return false
29412953
}
29422954

29432955
// addBuilder adds c to the Builders map after doing some checks.

dashboard/builders_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -518,11 +518,12 @@ func TestBuilderConfig(t *testing.T) {
518518

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

521-
{b("linux-loong64-3a5000", "go"), onlyPost},
522-
{b("[email protected]", "go"), onlyPost},
523-
{b("linux-loong64-3a5000", "sys"), onlyPost},
524-
{b("[email protected]", "sys"), onlyPost},
525-
{b("linux-loong64-3a5000", "net"), onlyPost},
521+
// Builders for linux/loong64 are fully ported to LUCI and stopped in the coordinator.
522+
{b("linux-loong64-3a5000", "go"), none},
523+
{b("[email protected]", "go"), none},
524+
{b("linux-loong64-3a5000", "sys"), none},
525+
{b("[email protected]", "sys"), none},
526+
{b("linux-loong64-3a5000", "net"), none},
526527

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

0 commit comments

Comments
 (0)