<p dir="auto">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.</p>
<hr>
<p dir="auto"><a href="http://build.golang.org/log/790f12ebfd076cb47d01055b7ee138b6d40be2b1" rel="nofollow">http://build.golang.org/log/790f12ebfd076cb47d01055b7ee138b6d40be2b1</a></p>
<p dir="auto">go_android_exec: adb shell mkdir -p /data/local/tmp/pprof.test-23878<br>
go_android_exec: adb push /tmp/go-build624543768/runtime/pprof/_test/pprof.test /data/local/tmp/pprof.test-23878/pprof.test-23878-tmp<br>
217 KB/s (3129500 bytes in 14.033s)<br>
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'<br>
go_android_exec: adb shell rm '/data/local/tmp/pprof.test-23878/pprof.test-23878-tmp'<br>
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=$?<br>
--- FAIL: TestCPUProfileMultithreaded (0.49s)<br>
pprof_test.go:161: total 18 CPU profile samples collected<br>
pprof_test.go:170: runtime/pprof_test.cpuHog1: 0<br>
pprof_test.go:170: runtime/pprof_test.cpuHog2: 18<br>
pprof_test.go:184: runtime/pprof_test.cpuHog1 has 0 samples out of 18, want at least 1, ideally 9<br>
FAIL<br>
exitcode=1go_android_exec: adb shell rm -rf /data/local/tmp/pprof.test-23878</p>
<p dir="auto">TestCPUProfileMultithreaded occasionally fails for GOOS=android and GOARCH=arm.</p>
<p dir="auto">834 KB/s (2368016 bytes in 2.770s)<br>
go_android_exec: adb shell cp '/data/local/tmp/goroot/pprof.test-3947-tmp' '/data/local/tmp/goroot/pprof.test-3947'<br>
go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-3947-tmp'<br>
go_android_exec: adb shell export TMPDIR="/data/local/tmp"; export GOROOT="/data/local/tmp/goroot"; cd "$GOROOT/src/runtime/pprof"; '/data/local/tmp/goroot/pprof.test-3947' -test.short=true -test.timeout=360s; echo -n exitcode=$?<br>
--- FAIL: TestCPUProfileMultithreaded (3.60s)<br>
pprof_test.go:165: runtime/pprof_test.cpuHog1: 0<br>
pprof_test.go:165: runtime/pprof_test.cpuHog2: 61<br>
pprof_test.go:179: runtime/pprof_test.cpuHog1 has 0 samples out of 61, want at least 1, ideally 30<br>
FAIL</p>