-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: TestFreeBSDNumCPU fails #25924
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
Comments
Please provide more information:
|
an error output as |
proposed PR #25920 |
Thanks. Changed the title as that test does not seem to be using or is part of internal/cpu but is in the runtime package. |
On Is there any special setup needed to reproduce the error?
|
I run snapshot, witness, develop symbols and everything maybe that s why. |
Change https://golang.org/cl/119355 mentions this issue: |
catches the subset of cpuset -g output fixes golang#25924
num cpu unit test fixes for FreeBSD. cpuset -g can possibly output more data than expected. Fixes golang#25924
Change https://golang.org/cl/119376 mentions this issue: |
$ ./all.bash |
@uvelichitel This issue is closed and we think it's been fixed. Please open a new issue with the problem that you are seeing. Thanks. |
Fix TestFreeBSDNumCPU on newer versions of FreeBSD which have multi line output from cpuset e.g. cpuset -g -p 4141 pid 4141 mask: 0, 1, 2, 3, 4, 5, 6, 7, 8 pid 4141 domain policy: first-touch mask: 0, 1 The test now uses just the first line of output. Fixes #38937 Fixes #25924 Change-Id: If082ee6b82120ebde4dc437e58343b3dad69c65f Reviewed-on: https://go-review.googlesource.com/c/go/+/232801 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
What version of Go are you using (
go version
)?go devel
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?FreeBSD 11
What did you do?
unit tests
What did you expect to see?
num cpu test fails due to causer output
The text was updated successfully, but these errors were encountered: