Skip to content

runtime: TestChanSend* tests take a very long time to run on linux/arm #12249

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

Closed
davecheney opened this issue Aug 21, 2015 · 2 comments
Closed
Milestone

Comments

@davecheney
Copy link
Contributor

$ env GOMAXPROCS=2 go test runtime -test.timeout=600m -test.v -test.run=Chan.*Barrier -cpu=1,2,
4
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (326.72s)
=== RUN   TestChanSendBarrier
--- PASS: TestChanSendBarrier (265.04s)
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (177.68s)
=== RUN   TestChanSendBarrier
x^[[A^[[A^[[A^[[B^[[A^[[B--- PASS: TestChanSendBarrier (146.90s)
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (100.52s)
=== RUN   TestChanSendBarrier
--- PASS: TestChanSendBarrier (86.06s)
PASS
ok      runtime 1103.144s

This is on a Raspberry Pi 2 (ARMv7) system

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Aug 21, 2015
@davecheney
Copy link
Contributor Author

Here are the results from a different ARMv7 system (just to rule out the Raspberry Pi)

[root@alarm src]# env GOMAXPROCS=2 go test runtime -test.timeout=600m -test.v -test.run=Chan.*Barrier -cpu=1,2,4
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (172.17s)
=== RUN   TestChanSendBarrier
--- PASS: TestChanSendBarrier (144.81s)
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (92.95s)
=== RUN   TestChanSendBarrier
--- PASS: TestChanSendBarrier (80.27s)
=== RUN   TestChanSendSelectBarrier
--- PASS: TestChanSendSelectBarrier (56.35s)
=== RUN   TestChanSendBarrier
--- PASS: TestChanSendBarrier (49.65s)
PASS
ok      runtime 596.294s

@davecheney
Copy link
Contributor Author

This was a mistake, under ./run.bash this test is run in -short mode which runs very quickly.

@golang golang locked and limited conversation to collaborators Aug 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants