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

Executing kubetest2 error in local e2e #1812

Closed
Yisaer opened this issue Feb 27, 2020 · 1 comment · Fixed by #1839
Closed

Executing kubetest2 error in local e2e #1812

Yisaer opened this issue Feb 27, 2020 · 1 comment · Fixed by #1839
Assignees
Labels
test/e2e e2e test type/bug Something isn't working

Comments

@Yisaer
Copy link
Contributor

Yisaer commented Feb 27, 2020

Bug Report

error msg:

info: downloading kubetest2-eks v0.0.6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   607  100   607    0     0    594      0  0:00:01  0:00:01 --:--:--   595
100 2589k  100 2589k    0     0   362k      0  0:00:07  0:00:07 --:--:--  533k
info: run 'kubetest2 kind --up --test exec --image-name kindest/node:v1.12.10@sha256:68a6581f64b54994b824708286fafc37f1227b7b54cbb8865182ce1e036ed1cc --up-retries 3 --cluster-name tidb-operator --config /var/folders/fr/t8qp6yps6dj9dl6xpnfh4l5w0000gn/T/tmp.mZfkhOxH --verbosity 4 -- hack/run-e2e.sh --ginkgo.focus=\[Feature: AdvancedStatefulSet\]\[Feature: Webhook\]'
./hack/e2e.sh: line 515: /Users/yisa/Downloads/Github/GoProject/src/github.com/pingcap/tidb-operator/output/bin/kubetest2: cannot execute binary file: Exec format error

Here is the info for the downloaded bin

# yisa @ yisa-MBP in ~/Downloads/Github/GoProject/src/github.com/pingcap/tidb-operator/output/bin on git:add_label_for_auto_scale_out_tikv x [23:59:00] 
$ ls -ll
total 242552
-rwxr-xr-x  1 yisa  staff  34396224 May 15  2018 helm
-rwx--x--x  1 yisa  staff   9241936 Feb 27 21:30 kind
-rwx--x--x  1 yisa  staff  56860112 Feb 27 21:33 kubectl
-rwx--x--x  1 yisa  staff   5103943 Feb 27 23:54 kubetest2
-rwx--x--x  1 yisa  staff   5262026 Feb 27 23:57 kubetest2-eks
-rwx--x--x  1 yisa  staff   6296503 Feb 27 23:57 kubetest2-gke
-rwx--x--x  1 yisa  staff   5266056 Feb 27 23:57 kubetest2-kind

cc @cofyc

@Yisaer Yisaer added type/bug Something isn't working test/e2e e2e test labels Feb 27, 2020
@Yisaer Yisaer changed the title Executing kubetest2error in local e2e Executing kubetest2 error in local e2e Feb 27, 2020
@cofyc
Copy link
Contributor

cofyc commented Feb 28, 2020

my mistake, I should have built a binary for darwin too, will fix it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test/e2e e2e test type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants