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/pprof: TestCPUProfileMultithreaded is flaky in android/arm #10289

hyangah opened this issue Mar 30, 2015 · 1 comment

runtime/pprof: TestCPUProfileMultithreaded is flaky in android/arm #10289

hyangah opened this issue Mar 30, 2015 · 1 comment


Copy link

hyangah commented Mar 30, 2015

Note that the number of samples the test observed is small small (18 samples) compared to the test execution time (0.49s). The expected CPU sampling rate is 100Hz.

go_android_exec: adb shell mkdir -p /data/local/tmp/pprof.test-23878
go_android_exec: adb push /tmp/go-build624543768/runtime/pprof/_test/pprof.test /data/local/tmp/pprof.test-23878/pprof.test-23878-tmp
217 KB/s (3129500 bytes in 14.033s)
go_android_exec: adb shell cp '/data/local/tmp/pprof.test-23878/pprof.test-23878-tmp' '/data/local/tmp/pprof.test-23878/pprof.test-23878'
go_android_exec: adb shell rm '/data/local/tmp/pprof.test-23878/pprof.test-23878-tmp'
go_android_exec: adb shell export TMPDIR="/data/local/tmp/pprof.test-23878"; export GOROOT="/data/local/tmp/goroot"; export GOPATH="/data/local/tmp/gopath"; cd "/data/local/tmp/goroot/src/runtime/pprof"; '/data/local/tmp/pprof.test-23878/pprof.test-23878' -test.short=true -test.timeout=4m0s; echo -n exitcode=$?
--- FAIL: TestCPUProfileMultithreaded (0.49s)
pprof_test.go:161: total 18 CPU profile samples collected
pprof_test.go:170: runtime/pprof_test.cpuHog1: 0
pprof_test.go:170: runtime/pprof_test.cpuHog2: 18
pprof_test.go:184: runtime/pprof_test.cpuHog1 has 0 samples out of 18, want at least 1, ideally 9
exitcode=1go_android_exec: adb shell rm -rf /data/local/tmp/pprof.test-23878

@rsc rsc added this to the Go1.5Maybe milestone Apr 10, 2015
Copy link
Contributor Author

hyangah commented Apr 21, 2015

duplicate of #9605.

@hyangah hyangah closed this as completed Apr 21, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants