Skip to content

Commit da7b0c8

Browse files
craig[bot]mgartner
andcommitted
72244: internal/issues: remove author CC from Github issue r=mgartner a=mgartner Previously, automatically created issues would CC the author of the test. In many cases, tests can fail for reasons outside of the author's domain of knowledge, and incorrect CC's create unnecessary noise. Mentioning the team that owns a test is sufficient for routing an issue to the most appropriate subset of engineers. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
2 parents a15b840 + 8024194 commit da7b0c8

28 files changed

+56
-205
lines changed

pkg/cmd/github-post/main.go

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const (
4747
type formatter func(context.Context, failure) (issues.IssueFormatter, issues.PostRequest)
4848

4949
func defaultFormatter(ctx context.Context, f failure) (issues.IssueFormatter, issues.PostRequest) {
50-
teams, authorEmail := getOwner(ctx, f.packageName, f.testName)
50+
teams := getOwner(ctx, f.packageName, f.testName)
5151
repro := fmt.Sprintf("make stressrace TESTS=%s PKG=./pkg/%s TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1",
5252
f.testName, trimPkg(f.packageName))
5353

@@ -64,7 +64,6 @@ func defaultFormatter(ctx context.Context, f failure) (issues.IssueFormatter, is
6464
PackageName: f.packageName,
6565
Message: f.testMessage,
6666
Artifacts: "/", // best we can do for unit tests
67-
AuthorEmail: authorEmail,
6867
HelpCommand: func(r *issues.Renderer) {
6968
issues.ReproductionCommandFromString(repro)
7069
r.Escaped("See also: ")
@@ -518,44 +517,20 @@ func getFileLine(
518517
}
519518

520519
// getOwner looks up the file containing the given test and returns
521-
// the owning teams as well as the author email. It does not return
520+
// the owning teams. It does not return
522521
// errors, but instead simply returns what it can.
523-
func getOwner(
524-
ctx context.Context, packageName, testName string,
525-
) (_teams []team.Team, _authorEmail string) {
526-
filename, linenum, err := getFileLine(ctx, packageName, testName)
522+
func getOwner(ctx context.Context, packageName, testName string) (_teams []team.Team) {
523+
filename, _, err := getFileLine(ctx, packageName, testName)
527524
if err != nil {
528525
log.Printf("getting file:line for %s.%s: %s", packageName, testName, err)
529-
return nil, ""
526+
return nil
530527
}
531-
authorEmail, _ := getAuthorEmail(ctx, filename, linenum)
532528
co, err := codeowners.DefaultLoadCodeOwners()
533529
if err != nil {
534530
log.Printf("loading codeowners: %s", err)
535-
return nil, authorEmail
536-
}
537-
return co.Match(filename), authorEmail
538-
}
539-
540-
func getAuthorEmail(ctx context.Context, filename, linenum string) (string, error) {
541-
// Run git blame.
542-
cmd := exec.Command(`/bin/bash`, `-c`,
543-
fmt.Sprintf(`cd "$(git rev-parse --show-toplevel)" && git blame --porcelain -L%s,+1 '%s' | grep author-mail`,
544-
linenum, filename))
545-
// This command returns output such as:
546-
// author-mail <[email protected]>
547-
out, err := cmd.CombinedOutput()
548-
if err != nil {
549-
return "", errors.Errorf("couldn't find author of %s:%s: %s\n%s",
550-
filename, linenum, err, string(out))
551-
}
552-
re := regexp.MustCompile("author-mail <(.*)>")
553-
matches := re.FindSubmatch(out)
554-
if matches == nil {
555-
return "", errors.Errorf("couldn't find author email of %s:%s: %s",
556-
filename, linenum, string(out))
531+
return nil
557532
}
558-
return string(matches[1]), nil
533+
return co.Match(filename)
559534
}
560535

561536
func formatPebbleMetamorphicIssue(

pkg/cmd/github-post/main_test.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ func TestListFailures(t *testing.T) {
2727
testName string
2828
title string
2929
message string
30-
author string
3130
expRepro string
3231
mention []string
3332
hasProject bool
@@ -48,7 +47,6 @@ func TestListFailures(t *testing.T) {
4847
testName: "TestStopperWithCancelConcurrent",
4948
title: "util/stop: TestStopperWithCancelConcurrent failed",
5049
message: "this is just a testing issue",
51-
author: "[email protected]",
5250
mention: []string{"@cockroachdb/server"},
5351
hasProject: true,
5452
}},
@@ -62,7 +60,6 @@ func TestListFailures(t *testing.T) {
6260
testName: "TestReplicateQueueRebalance",
6361
title: "kv/kvserver: TestReplicateQueueRebalance failed",
6462
message: "replicate_queue_test.go:88: condition failed to evaluate within 45s: not balanced: [10 1 10 1 8]",
65-
author: "[email protected]",
6663
mention: []string{"@cockroachdb/kv"},
6764
hasProject: true,
6865
}},
@@ -76,7 +73,6 @@ func TestListFailures(t *testing.T) {
7673
testName: "TestGossipHandlesReplacedNode",
7774
title: "kv/kvserver: TestGossipHandlesReplacedNode failed",
7875
message: "F180711 20:13:15.826193 83 storage/replica.go:1877 [n?,s1,r1/1:/M{in-ax}] on-disk and in-memory state diverged:",
79-
author: "[email protected]",
8076
mention: []string{"@cockroachdb/kv"},
8177
hasProject: true,
8278
}},
@@ -90,7 +86,6 @@ func TestListFailures(t *testing.T) {
9086
testName: "(unknown)",
9187
title: "storage: package failed",
9288
message: "make: *** [bin/.submodules-initialized] Error 1",
93-
author: "",
9489
}},
9590
formatter: defaultFormatter,
9691
},
@@ -104,7 +99,6 @@ func TestListFailures(t *testing.T) {
10499
message: `=== RUN TestPretty/["hello",_["world"]]
105100
--- FAIL: TestPretty/["hello",_["world"]] (0.00s)
106101
json_test.go:1656: injected failure`,
107-
author: "[email protected]",
108102
mention: []string{"@cockroachdb/unowned"},
109103
}},
110104
formatter: defaultFormatter,
@@ -121,7 +115,6 @@ func TestListFailures(t *testing.T) {
121115
testName: "TestTxnCoordSenderPipelining",
122116
title: "kv/kvclient/kvcoord: TestTxnCoordSenderPipelining failed",
123117
message: `injected failure`,
124-
author: "[email protected]",
125118
mention: []string{"@cockroachdb/kv"},
126119
hasProject: true,
127120
},
@@ -135,7 +128,6 @@ TestTxnCoordSenderPipelining - 1.00s
135128
Slow passing tests:
136129
TestAnchorKey - 1.01s
137130
`,
138-
author: "[email protected]",
139131
mention: []string{"@cockroachdb/kv"},
140132
hasProject: true,
141133
},
@@ -159,7 +151,6 @@ TestXXX/sub3 - 0.50s
159151
Slow passing tests:
160152
TestXXA - 1.00s
161153
`,
162-
author: "",
163154
},
164155
},
165156
formatter: defaultFormatter,
@@ -181,7 +172,6 @@ Slow passing tests:
181172
TestXXB - 1.01s
182173
TestXXA - 1.00s
183174
`,
184-
author: "",
185175
},
186176
},
187177
formatter: defaultFormatter,
@@ -203,7 +193,6 @@ Slow passing tests:
203193
TestXXB - 1.01s
204194
TestXXA - 1.00s
205195
`,
206-
author: "",
207196
},
208197
},
209198
formatter: defaultFormatter,
@@ -218,7 +207,6 @@ TestXXA - 1.00s
218207
testName: "TestXXX",
219208
title: "kv: TestXXX failed",
220209
message: `panic: induced panic`,
221-
author: "",
222210
},
223211
},
224212
formatter: defaultFormatter,
@@ -233,7 +221,6 @@ TestXXA - 1.00s
233221
testName: "(unknown)",
234222
title: "kv: package failed",
235223
message: `panic: induced panic`,
236-
author: "",
237224
},
238225
},
239226
formatter: defaultFormatter,
@@ -282,9 +269,6 @@ TestXXA - 1.00s
282269
if exp := c.expIssues[curIssue].testName; exp != f.testName {
283270
t.Errorf("expected test name %s, but got %s", exp, f.testName)
284271
}
285-
if exp := c.expIssues[curIssue].author; exp != "" && exp != req.AuthorEmail {
286-
t.Errorf("expected author %s, but got %s", exp, req.AuthorEmail)
287-
}
288272
if exp := c.expIssues[curIssue].title; exp != f.title {
289273
t.Errorf("expected title %s, but got %s", exp, f.title)
290274
}

pkg/cmd/internal/issues/issues.go

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,6 @@ var (
5757
searchLabel = issueLabels[1]
5858
)
5959

60-
// Replace resolved AuthorGithubHandles according to this map.
61-
// Helpful to avoid pinging former employees. The zero value
62-
// pings nobody.
63-
var oldFriendsMap = map[string]string{
64-
"a-robinson": "andreimatei",
65-
"benesch": "nvanbenschoten",
66-
"georgeutsin": "yuzefovich",
67-
"tamird": "tbg",
68-
"rohany": "solongordon",
69-
"vivekmenezes": "",
70-
"lucy-zhang": "ajwerner",
71-
"mjibson": "rafiss",
72-
"danhhz": "",
73-
}
74-
7560
// context augments context.Context with a logger.
7661
type postCtx struct {
7762
context.Context
@@ -85,42 +70,6 @@ func (ctx *postCtx) Printf(format string, args ...interface{}) {
8570
fmt.Fprintf(&ctx.Builder, format, args...)
8671
}
8772

88-
func (p *poster) getAuthorGithubHandle(ctx *postCtx, authorEmail string) string {
89-
if authorEmail == "" {
90-
return ""
91-
}
92-
commits, _, err := p.listCommits(ctx, p.Org, p.Repo, &github.CommitsListOptions{
93-
Author: authorEmail,
94-
ListOptions: github.ListOptions{
95-
PerPage: 1,
96-
},
97-
})
98-
if err != nil {
99-
ctx.Printf("unable list commits by %s: %v", authorEmail, err)
100-
return ""
101-
}
102-
if len(commits) == 0 {
103-
ctx.Printf("no GitHub commits found for email %s", authorEmail)
104-
return ""
105-
}
106-
107-
if commits[0].Author == nil {
108-
ctx.Printf("no Author found for user email %s", authorEmail)
109-
return ""
110-
}
111-
authorHandle := *commits[0].Author.Login
112-
113-
if newAuthorHandle, ok := oldFriendsMap[authorHandle]; ok {
114-
if newAuthorHandle == "" {
115-
ctx.Printf("%s marked as alumn{us,a}; ignoring", authorHandle)
116-
return ""
117-
}
118-
ctx.Printf("%s marked as alumn{us/a}; resolving to %s instead", authorHandle, newAuthorHandle)
119-
return newAuthorHandle
120-
}
121-
return authorHandle
122-
}
123-
12473
func getLatestTag() (string, error) {
12574
cmd := exec.Command("git", "describe", "--abbrev=0", "--tags", "--match=v[0-9]*")
12675
out, err := cmd.CombinedOutput()
@@ -311,18 +260,6 @@ func (p *poster) templateData(
311260

312261
func (p *poster) post(origCtx context.Context, formatter IssueFormatter, req PostRequest) error {
313262
ctx := &postCtx{Context: origCtx}
314-
315-
authorHandle := p.getAuthorGithubHandle(ctx, req.AuthorEmail)
316-
if authorHandle != "" {
317-
// This is intentionally missing an "@" because we don't want
318-
// to ping former interns and employees (and haven't done the
319-
// work to let this code here determine whether the author is
320-
// still a member of the repo). We rely primarily on
321-
// mentioning a team and adding to its project column. The
322-
// author is only informative.
323-
req.Mention = append(req.Mention, authorHandle)
324-
}
325-
326263
data := p.templateData(
327264
ctx,
328265
req,

pkg/cmd/internal/issues/issues_test.go

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTe
287287
TestName: c.testName,
288288
Message: c.message,
289289
Artifacts: c.artifacts,
290+
Mention: []string{"@nights-watch"},
290291
AuthorEmail: c.author,
291292
HelpCommand: repro,
292293
ExtraLabels: []string{"release-blocker"},
@@ -347,34 +348,12 @@ func TestPostEndToEnd(t *testing.T) {
347348
PackageName: "github.com/cockroachdb/cockroach/pkg/foo/bar",
348349
TestName: "TestFooBarBaz",
349350
Message: "I'm a message",
350-
AuthorEmail: "[email protected]",
351351
ExtraLabels: []string{"release-blocker"},
352352
}
353353

354354
require.NoError(t, Post(context.Background(), UnitTestFormatter, req))
355355
}
356356

357-
func TestGetAssignee(t *testing.T) {
358-
p := &poster{
359-
Options: &Options{
360-
Org: "myorg",
361-
Repo: "myrepo",
362-
},
363-
}
364-
listCommits := func(_ context.Context, owner string, repo string,
365-
opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) {
366-
require.Equal(t, owner, p.Options.Org)
367-
require.Equal(t, repo, p.Options.Repo)
368-
return []*github.RepositoryCommit{
369-
{},
370-
}, nil, nil
371-
}
372-
p.listCommits = listCommits
373-
ctx := &postCtx{Context: context.Background()}
374-
require.Zero(t, p.getAuthorGithubHandle(ctx, "[email protected]"))
375-
require.Equal(t, "no Author found for user email [email protected]\n", ctx.Builder.String())
376-
}
377-
378357
// setEnv overrides the env variables corresponding to the input map. The
379358
// returned closure restores the status quo.
380359
func setEnv(kv map[string]string) func() {

pkg/cmd/internal/issues/testdata/post/failure-matching-and-related-issue.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
listCommits owner=cockroachdb repo=cockroach github.CommitsListOptions{SHA:"", Path:"", Author:"bran", Since:time.Time{wall:, ext:}, Until:time.Time{wall:, ext:}, ListOptions:github.ListOptions{Page:0, PerPage:1}}
21
searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "storage: TestReplicateQueueRebalance failed" label:branch-release-0.1: [github.Issue{Number:30, Title:"boom", Labels:[github.Label{URL:"fake", Name:"C-test-failure"} github.Label{URL:"fake", Name:"O-robot"} github.Label{URL:"fake", Name:"release-0.1"}]}]
32
searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "storage: TestReplicateQueueRebalance failed" -label:branch-release-0.1: [github.Issue{Number:31, Title:"boom related", Labels:[github.Label{URL:"fake", Name:"C-test-failure"} github.Label{URL:"fake", Name:"O-robot"} github.Label{URL:"fake", Name:"release-0.2"}]}]
43
createComment owner=cockroachdb repo=cockroach issue=30:
@@ -29,11 +28,11 @@ Parameters in this failure:
2928
- #31 boom related [C-test-failure O-robot release-0.2]
3029
</p>
3130
</details>
32-
/cc hodor
31+
/cc @nights-watch
3332
<sub>
3433

3534
[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestReplicateQueueRebalance.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
3635
</sub>
3736

3837

39-
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Fteamcity.example.com%2FviewLog.html%3FbuildId%3D8008135%26tab%3DbuildLog%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0ATo+reproduce%2C+try%3A%0A%0A%60%60%60bash%0Amake+stressrace+TESTS%3DTestReplicateQueueRebalance+PKG%3D.%2Fpkg%2Fstorage+TESTTIMEOUT%3D5m+STRESSFLAGS%3D%27-timeout+5m%27+2%3E%261%0A%60%60%60%0AParameters+in+this+failure%3A%0A%0A-+TAGS%3Ddeadlock%0A%0A-+GOFLAGS%3Drace%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%3Cdetails%3E%3Csummary%3ESame+failure+on+other+branches%3C%2Fsummary%3E%0A%3Cp%3E%0A%0A-+%2331+boom+related+%5BC-test-failure+O-robot+release-0.2%5D%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%2Fcc+hodor%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Finternal%2Fissues%29%0A%3C%2Fsub%3E%0A&title=%3Ccomment%3E
38+
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Fteamcity.example.com%2FviewLog.html%3FbuildId%3D8008135%26tab%3DbuildLog%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0ATo+reproduce%2C+try%3A%0A%0A%60%60%60bash%0Amake+stressrace+TESTS%3DTestReplicateQueueRebalance+PKG%3D.%2Fpkg%2Fstorage+TESTTIMEOUT%3D5m+STRESSFLAGS%3D%27-timeout+5m%27+2%3E%261%0A%60%60%60%0AParameters+in+this+failure%3A%0A%0A-+TAGS%3Ddeadlock%0A%0A-+GOFLAGS%3Drace%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%3Cdetails%3E%3Csummary%3ESame+failure+on+other+branches%3C%2Fsummary%3E%0A%3Cp%3E%0A%0A-+%2331+boom+related+%5BC-test-failure+O-robot+release-0.2%5D%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%2Fcc+%40nights-watch%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Finternal%2Fissues%29%0A%3C%2Fsub%3E%0A&title=%3Ccomment%3E

pkg/cmd/internal/issues/testdata/post/failure-matching-issue.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
listCommits owner=cockroachdb repo=cockroach github.CommitsListOptions{SHA:"", Path:"", Author:"bran", Since:time.Time{wall:, ext:}, Until:time.Time{wall:, ext:}, ListOptions:github.ListOptions{Page:0, PerPage:1}}
21
searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "storage: TestReplicateQueueRebalance failed" label:branch-release-0.1: [github.Issue{Number:30, Title:"boom", Labels:[github.Label{URL:"fake", Name:"C-test-failure"} github.Label{URL:"fake", Name:"O-robot"} github.Label{URL:"fake", Name:"release-0.1"}]}]
32
searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "storage: TestReplicateQueueRebalance failed" -label:branch-release-0.1: []
43
createComment owner=cockroachdb repo=cockroach issue=30:
@@ -23,11 +22,11 @@ Parameters in this failure:
2322
- GOFLAGS=race
2423
</p>
2524
</details>
26-
/cc hodor
25+
/cc @nights-watch
2726
<sub>
2827

2928
[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestReplicateQueueRebalance.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
3029
</sub>
3130

3231

33-
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Fteamcity.example.com%2FviewLog.html%3FbuildId%3D8008135%26tab%3DbuildLog%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0ATo+reproduce%2C+try%3A%0A%0A%60%60%60bash%0Amake+stressrace+TESTS%3DTestReplicateQueueRebalance+PKG%3D.%2Fpkg%2Fstorage+TESTTIMEOUT%3D5m+STRESSFLAGS%3D%27-timeout+5m%27+2%3E%261%0A%60%60%60%0AParameters+in+this+failure%3A%0A%0A-+TAGS%3Ddeadlock%0A%0A-+GOFLAGS%3Drace%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%2Fcc+hodor%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Finternal%2Fissues%29%0A%3C%2Fsub%3E%0A&title=%3Ccomment%3E
32+
Rendered: https://github.com/cockroachdb/cockroach/issues/new?body=storage.TestReplicateQueueRebalance+%5Bfailed%5D%28https%3A%2F%2Fteamcity.example.com%2FviewLog.html%3FbuildId%3D8008135%26tab%3DbuildLog%29+on+release-0.1+%40+%5Babcd123%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Fcommits%2Fabcd123%29%3A%0A%0A%0A%60%60%60%0A%09%3Cautogenerated%3E%3A12%3A+storage%2Freplicate_queue_test.go%3A103%2C+condition+failed+to+evaluate+within+45s%3A+not+balanced%3A+%5B10+1+10+1+8%5D%0A%60%60%60%0A%3Cdetails%3E%3Csummary%3EHelp%3C%2Fsummary%3E%0A%3Cp%3E%0ATo+reproduce%2C+try%3A%0A%0A%60%60%60bash%0Amake+stressrace+TESTS%3DTestReplicateQueueRebalance+PKG%3D.%2Fpkg%2Fstorage+TESTTIMEOUT%3D5m+STRESSFLAGS%3D%27-timeout+5m%27+2%3E%261%0A%60%60%60%0AParameters+in+this+failure%3A%0A%0A-+TAGS%3Ddeadlock%0A%0A-+GOFLAGS%3Drace%0A%3C%2Fp%3E%0A%3C%2Fdetails%3E%0A%2Fcc+%40nights-watch%0A%3Csub%3E%0A%0A%5BThis+test+on+roachdash%5D%28https%3A%2F%2Froachdash.crdb.dev%2F%3Ffilter%3Dstatus%3Aopen%2520t%3A.%2ATestReplicateQueueRebalance.%2A%26sort%3Dtitle%2Bcreated%26display%3Dlastcommented%2Bproject%29+%7C+%5BImprove+this+report%21%5D%28https%3A%2F%2Fgithub.com%2Fcockroachdb%2Fcockroach%2Ftree%2Fmaster%2Fpkg%2Fcmd%2Finternal%2Fissues%29%0A%3C%2Fsub%3E%0A&title=%3Ccomment%3E

0 commit comments

Comments
 (0)