Skip to content

Commit 2809c93

Browse files
committed
roachtest: add s390x-test-failure GH label when arch == "s390x"
To simplify tracking roachtest failures on s390x, we add `s390x-test-failure` Github label. Epic: none Release note: None
1 parent b452213 commit 2809c93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/cmd/roachtest/github.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ func (g *githubIssues) createPostRequest(
217217
const infraFlakeLabel = "X-infra-flake"
218218
const runtimeAssertionsLabel = "B-runtime-assertions-enabled"
219219
const coverageLabel = "B-coverage-enabled"
220+
const s390xTestFailureLabel = "s390x-test-failure"
220221
labels := []string{"O-roachtest"}
221222
if infraFlake {
222223
labels = append(labels, infraFlakeLabel)
@@ -235,6 +236,11 @@ func (g *githubIssues) createPostRequest(
235236
labels = append(labels, coverageLabel)
236237
}
237238
}
239+
// N.B. To simplify tracking failures on s390x, we add the designated s390x-test-failure label. This could be removed
240+
// in the future, i.e., after several major releases, when we expect s390x to be sufficiently stable.
241+
if arch := params["arch"]; vm.CPUArch(arch) == vm.ArchS390x {
242+
labels = append(labels, s390xTestFailureLabel)
243+
}
238244
labels = append(labels, spec.ExtraLabels...)
239245

240246
teams, err := g.teamLoader()

0 commit comments

Comments
 (0)