dashboard: add linux-riscv64-jsing builder (reverse)

Also use this as the riscv64 slowbot, since linux-riscv64-unleashed has
been MIA for quite some time.

For golang/go#27532

Change-Id: I01309a66b96d4c35dbc9d1e08f55f5357b0acba0
Reviewed-on: https://go-review.googlesource.com/c/build/+/257917
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Joel Sing 2020-09-28 04:25:41 +10:00
Родитель 18a54c6475
Коммит 8ea6a2c531
1 изменённых файлов: 30 добавлений и 2 удалений

Просмотреть файл

@ -59,7 +59,7 @@ var slowBotAliases = map[string]string{
"linux-mipsle": "linux-mipsle-rtrk",
"linux-ppc64": "linux-ppc64-buildlet",
"linux-ppc64le": "linux-ppc64le-buildlet",
"linux-riscv64": "linux-riscv64-unleashed",
"linux-riscv64": "linux-riscv64-jsing",
"linux-s390x": "linux-s390x-ibm",
"longtest": "linux-amd64-longtest",
"mac": "darwin-amd64-10_14",
@ -84,7 +84,7 @@ var slowBotAliases = map[string]string{
"plan9-amd64": "plan9-amd64-9front",
"ppc64": "linux-ppc64-buildlet",
"ppc64le": "linux-ppc64le-buildlet",
"riscv64": "linux-riscv64-unleashed",
"riscv64": "linux-riscv64-jsing",
"s390x": "linux-s390x-ibm",
"solaris": "solaris-amd64-oraclerel",
"solaris-amd64": "solaris-amd64-oraclerel",
@ -206,6 +206,13 @@ var Hosts = map[string]*HostConfig{
env: []string{"GOROOT_BOOTSTRAP=/usr/local/go"},
OwnerGithub: "esnolte", // https://github.com/golang/go/issues/34973#issuecomment-543836871
},
"host-linux-riscv64-joelsing": &HostConfig{
Notes: "SiFive HiFive Unleashed RISC-V board. 8 GB RAM, 4 cores.",
IsReverse: true,
ExpectNum: 1,
OwnerGithub: "4a6f656c",
env: []string{"GOROOT_BOOTSTRAP=/usr/local/goboot"},
},
"host-linux-riscv64-unleashed": &HostConfig{
Notes: "SiFive HiFive Unleashed RISC-V board. 8 GB RAM, 4 cores.",
IsReverse: true,
@ -2310,6 +2317,27 @@ func init() {
"GOHOSTARCH=mips",
},
})
addBuilder(BuildConfig{
HostType: "host-linux-riscv64-joelsing",
Name: "linux-riscv64-jsing",
SkipSnapshot: true,
env: []string{"GO_TEST_TIMEOUT_SCALE=4"},
distTestAdjust: func(run bool, distTest string, isNormalTry bool) bool {
switch distTest {
case "api", "reboot":
return false
}
return run
},
buildsRepo: func(repo, branch, goBranch string) bool {
switch repo {
case "go", "net", "sys":
return branch == "master" && goBranch == "master"
default:
return false
}
},
})
addBuilder(BuildConfig{
HostType: "host-linux-riscv64-unleashed",
Name: "linux-riscv64-unleashed",