cmd/dist/test: -race flag not supported for linux/s390x although cmd/internal/sys/supported begs to differ #53981
Labels
arch-s390x
Issues solely affecting the s390x architecture.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
OS-Linux
RaceDetector
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The knative.dev go-based e2e testcases are being run with the
go test -race ...
command. While this works fine for the main x86_64 platform, for linux/s390x the command always reports-race is not supported on linux/s390x
.What did you expect to see?
Race detection is enabled for linux/s390x in the go codebase, but for some reason the implementations in
cmd/internal/sys/supported.go
andcmd/dist/test.go
have diverged although the comments in both files suggest otherwise. This should be fixed, withcmd/dist/test.go
exhibiting the same behaviour as the main implementation incmd/internal/sys/supported.go
.What did you see instead?
Race detection does not work when calling
go test -race
whereas the actual implementation in the go codebase suggests otherwise.The text was updated successfully, but these errors were encountered: