Skip to content

runtime: TestSmhasherAvalanche fails intermittently #7943

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
donaldgraham opened this issue May 6, 2014 · 4 comments
Closed

runtime: TestSmhasherAvalanche fails intermittently #7943

donaldgraham opened this issue May 6, 2014 · 4 comments
Milestone

Comments

@donaldgraham
Copy link

What does 'go version' print?
go version devel +2b8ee33fbca8 Tue May 06 11:40:43 2014 +1000 linux/amd64

What steps reproduce the problem?
Set GOMAXPROCS to 4.
Run the attached script from src/pkg/runtime.  The script simply runs
TestSmhasherAvalanche repeatedly until it fails.  Mine fails after about an hour.

What happened?
--- FAIL: TestSmhasherAvalanche (39.94 seconds)
    hash_test.go:412: bad bias for bytes2 bit 7 -> bit 8: 48487/100000

What should have happened instead?
=== RUN TestSmhasherAvalanche
--- PASS: TestSmhasherAvalanche (39.34 seconds)

Please provide any additional information below.

Attachments:

  1. TestSmhasherAvalanche.sh (113 bytes)
@donaldgraham
Copy link
Author

Comment 1:

I've run my script a few more times, and I've observed that it can take up to 4 hours
for the test to fail.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added repo-main, release-go1.3maybe.

Owner changed to @randall77.

@gopherbot
Copy link
Contributor

Comment 3:

CL https://golang.org/cl/98170043 mentions this issue.

@randall77
Copy link
Contributor

Comment 4:

This issue was closed by revision 711d1ad.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
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

5 participants