golang / golang/go

cmd/internal/testdir:0_10: Test/fixedbugs/issue15747.go failures

Open
#76,554 1 comment 0 reactions 0 assignees View on GitHub
NeedsInvestigation
Dominant language
Go
Stars
139k
Forks
19.9k
PR merge metrics
PR metrics pending

Description

```
#!watchflakes
default <- pkg == "cmd/internal/testdir:0_10" && test == "Test/fixedbugs/issue15747.go"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8697283615237573537)):

=== RUN Test/fixedbugs/issue15747.go
=== PAUSE Test/fixedbugs/issue15747.go
=== CONT Test/fixedbugs/issue15747.go
testdir_test.go:1194: gc output:
/home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/issue15747.go:22: live at entry to f1: xx
/home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/issue15747.go:22: live at call to newobject: xx
/home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/issue15747.go:29: live at call to f2: &xx
/home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/issue15747.go:37: live at entry to f2: d
/home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/issue15747.go:39: live at call to newobject: d
testdir_test.go:147:
issue15747.go:22: no match for `live at call to mallocgcSmallScanNoHeaderSC[0-9]+: xx$` in:
issue15747.go:22: live at entry to f1: xx
issue15747.go:22: live at call to newobject: xx
issue15747.go:39: no match for `live at call to mallocgcSmallScanNoHeaderSC[0-9]+: d` in:
issue15747.go:39: live at call to newobject: d
Unmatched Errors:
issue15747.go:22: live at call to newobject: xx
issue15747.go:39: live at call to newobject: d

--- FAIL: Test/fixedbugs/issue15747.go (0.22s)

— [watchflakes](https://go.dev/wiki/Watchflakes)

Contributor guide

Open the contributing guide

Research direction

Start with test/fixedbugs/issue15747.go and the failure-reporting code in testdir_test.go, then reproduce Test/fixedbugs/issue15747.go using the linked log as a reference. Determine whether the compiler output or the test's expected patterns are wrong; done means the test passes with diagnostics matching the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.