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

Support running tests on arm processors #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wdbaruni
Copy link

@wdbaruni wdbaruni commented Sep 7, 2022

Builds are failing on Mac with arm processors with the following errors:

testground run single --plan example --testcase output  --builder exec:go --runner local:exec  --instances 3 --wait
Sep  7 20:35:26.172736  ERROR   go build failed: # golang.org/x/sys/unix
/Users/walid/.go/pkg/mod/golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:29:3: //go:linkname must refer to declared function or variable
/Users/walid/.go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable

Running the same example test passes by overriding sdk-go dependency to use the version in this PR

vi testground/plans/example/go.mod
replace github.com/testground/sdk-go => /Users/walid/ProtocolLabs/workspace/testground-sdk-go

> testground run single --plan example --testcase output  --builder exec:go --runner local:exec  --instances 3 --wait
// passes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant