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

standard_init_linux.go:219: exec user process caused: exec format error #27

Closed
Juandavi1 opened this issue Aug 24, 2021 · 3 comments
Closed

Comments

@Juandavi1
Copy link

Hi guys,

we have an extension that works well locally but when we are going to test it in a container it fails.

We are compiling the binary as follows:
xk6 build v0.33.0 --with dev.azure.com/SiigoDevOps/Siigo/_git/Siigo.K6.Extensions.git=$(pwd)
and
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 xk6 build v0.33.0 --with dev.azure.com/SiigoDevOps/Siigo/_git/Siigo.K6.Extensions.git=$(pwd)

but the container does not work generating the following error

standard_init_linux.go:219: exec user process caused: exec format error

Do you know what it could be? we have tried everything but we have not succeeded :(

thanks

@mstoykov
Copy link
Contributor

Are you sure the container you are running isn't actually linux instead of macos? even if it's running on top of mac. In that case you would not use GOOS=darwin but GOOS=linux ;)

@mstoykov
Copy link
Contributor

Any news on this @Juandavi1 ?

@Juandavi1
Copy link
Author

Hi, yes now it works

Thanks

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

No branches or pull requests

2 participants