Skip to content
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

x/sys/unix: TestSchedSetaffinity fails on ppc64x with some smt settings #27875

Closed
laboger opened this issue Sep 26, 2018 · 1 comment
Closed

Comments

@laboger
Copy link
Contributor

laboger commented Sep 26, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

latest

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

ppc64le

What did you do?

./all.bash

What did you expect to see?

ALL PASSED

What did you see instead?

=== RUN TestSchedSetaffinity
--- FAIL: TestSchedSetaffinity (0.00s)
syscall_linux_test.go:277: SchedSetaffinity: invalid argument

This problem occurs only if someone has used the ppc64_cpu command with the -smt option on the system so that some cores are not active. That causes the syscall to flag an invalid argument if an inactive core is passed.

I have a patch for the test to avoid this error but thought an issue would be appropriate here.

@gopherbot gopherbot added this to the Unreleased milestone Sep 26, 2018
@gopherbot
Copy link

Change https://golang.org/cl/137675 mentions this issue: x/sys/unix: fix TestSchedSetaffinity for smt settings

@golang golang locked and limited conversation to collaborators Sep 26, 2019
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

2 participants