Skip to content

Unable to run e2e locally on Mac: exec format error #784

@akihikokuroda

Description

@akihikokuroda

I ran the e2e test of operator-registry with
DOCKER_REGISTRY_HOST=localhost:5000 make build e2e SKIPTLS="true" CLUSTER=kind
on Mac. It failed with

STEP: creating a batch job
INFO: Waiting on job to update status
INFO: Timeout waiting for job to complete
INFO: Pod logs for unpack job pod "deploy-bundle-image-srqsf-66j9z":
standard_init_linux.go:228: exec user process caused: exec format error

I seems to run the mac executable in the linux container. I built linux executables and run ’make e2e`. It worked successfully.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.triagedIssue has been considered by a member of the OLM community

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions