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
TestCPUProfileMultithreaded occasionally fails for GOOS=android and GOARCH=arm.
834 KB/s (2368016 bytes in 2.770s) go_android_exec: adb shell cp '/data/local/tmp/goroot/pprof.test-3947-tmp' '/data/local/tmp/goroot/pprof.test-3947' go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-3947-tmp' 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=$? --- FAIL: TestCPUProfileMultithreaded (3.60s) pprof_test.go:165: runtime/pprof_test.cpuHog1: 0 pprof_test.go:165: runtime/pprof_test.cpuHog2: 61 pprof_test.go:179: runtime/pprof_test.cpuHog1 has 0 samples out of 61, want at least 1, ideally 30 FAIL
The text was updated successfully, but these errors were encountered:
qemu, right?
Sorry, something went wrong.
Android emulator ARM v7a. It's not exactly what the mainline qemu is.
These tests have never run well under qemu. I'd just skip them when under this environment.
Maybe set an IN_QEMU=1 environment variable, and t.Skip based on that.
Mailed https://go-review.googlesource.com/#/c/3000/.
dc72db9
This test is extremely flaky even on real arm64 hardware running Linux.
No branches or pull requests
TestCPUProfileMultithreaded occasionally fails for GOOS=android and GOARCH=arm.
834 KB/s (2368016 bytes in 2.770s)
go_android_exec: adb shell cp '/data/local/tmp/goroot/pprof.test-3947-tmp' '/data/local/tmp/goroot/pprof.test-3947'
go_android_exec: adb shell rm '/data/local/tmp/goroot/pprof.test-3947-tmp'
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=$?
--- FAIL: TestCPUProfileMultithreaded (3.60s)
pprof_test.go:165: runtime/pprof_test.cpuHog1: 0
pprof_test.go:165: runtime/pprof_test.cpuHog2: 61
pprof_test.go:179: runtime/pprof_test.cpuHog1 has 0 samples out of 61, want at least 1, ideally 30
FAIL
The text was updated successfully, but these errors were encountered: