cmd/cgo/internal/testsanitizers: failures with setarch: failed to set personality to x86_64: Operation not permitted
#70463
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
Proposal Details
I'm seeing the following error when running
gotip tool dist test
in a Ubuntu 22.04 container image:The
setarch
normally needs the--privileged
flag to be passed todocker run
, but I would rather try to avoid that. In fact,setarch
was introduced in CL 623956 to fix the following test issue: #59418, which it did, but also introduced the issue reported in here.The text was updated successfully, but these errors were encountered: