Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: TestTimePprof failure with "profiler refers to ExternalCode" #43118

Closed
bcmills opened this issue Dec 10, 2020 · 8 comments
Closed

runtime: TestTimePprof failure with "profiler refers to ExternalCode" #43118

bcmills opened this issue Dec 10, 2020 · 8 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. okay-after-beta1 Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1 release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Dec 10, 2020

2020-12-09T19:12:27-f1980ef/solaris-amd64-oraclerel

--- FAIL: TestTimePprof (0.34s)
    crash_test.go:699: Type: cpu
        Time: Dec 9, 2020 at 9:56pm (CET)
        Duration: 215.70ms, Total samples = 20ms ( 9.27%)
        Showing nodes accounting for 10ms, 50.00% of 20ms total
        Showing top 1 nodes out of 11
              flat  flat%   sum%        cum   cum%
              10ms 50.00% 50.00%       10ms 50.00%  runtime._ExternalCode
    crash_test.go:703: profiler refers to ExternalCode
FAIL
FAIL	runtime	80.082s

See previously #41120.

CC @ianlancetaylor @aclements @tklauser (for TestTimePprof), @hyangah @dmitshur @zikaeroh (in case this is related to CL 275513)

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 10, 2020
@bcmills bcmills added this to the Backlog milestone Dec 10, 2020
@bcmills
Copy link
Contributor Author

bcmills commented Feb 25, 2021

@bcmills
Copy link
Contributor Author

bcmills commented Nov 19, 2021

@bcmills bcmills added okay-after-beta1 Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1 release-blocker labels Nov 19, 2021
@bcmills bcmills modified the milestones: Backlog, Go1.18 Nov 19, 2021
@bcmills
Copy link
Contributor Author

bcmills commented Nov 19, 2021

Marking as release-blocker to either fix the test, or add a skip if the cause is believed to be platform-specific and the fix is non-trivial.

(CC @jeremyfaller)

@jeremyfaller
Copy link
Contributor

CCing @cherrymui as the owner of pprof.

(CCing @prattmic as well, because it's likely he would be interested as well.)

@cherrymui
Copy link
Member

Seems this only fails on Solaris? We use libc for syscalls, so the "ExternalCode" may refer to the libc function.

@ianlancetaylor
Copy link
Contributor

@cherrymui I agree. I will send a CL.

@gopherbot
Copy link

Change https://golang.org/cl/366759 mentions this issue: runtime: skip TestTimePprof if nanotime calls libc

@gopherbot
Copy link

Change https://golang.org/cl/366737 mentions this issue: runtime: skip TestTimePprof on illumos

gopherbot pushed a commit that referenced this issue Nov 24, 2021
On illumos nanotime calls libc, like on the other systems for which
TestTimePprof is skipped.

For #43118

Change-Id: I370d3f098a261185920cb1e3e3402d16200e301a
Reviewed-on: https://go-review.googlesource.com/c/go/+/366737
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Nov 25, 2021
@golang golang locked and limited conversation to collaborators Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. okay-after-beta1 Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1 release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

6 participants