Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

hack/dev-push-hyperkube.sh: no such file or directory #53

Open
benmoss opened this issue Aug 31, 2018 · 1 comment
Open

hack/dev-push-hyperkube.sh: no such file or directory #53

benmoss opened this issue Aug 31, 2018 · 1 comment

Comments

@benmoss
Copy link

benmoss commented Aug 31, 2018

Following the instructions in the README, I got as far as here but not sure what is going wrong now.

My command:

kubetest --acsengine-public-key=$HOME/.ssh/id_krypton.pub --extract=ci/latest --provider=azure --deployment=acsengine --test=true --up=true --down=true --acsengine-admin-username=azureuser --acsengine-admin-password=$ADMIN_PW --acsengine-download-url=https://github.com/Azure/acs-engine/releases/download/v0.18.8/acs-engine-v0.18.8-linux-amd64.tar.gz --acsengine-creds="$HOME/Downloads/azure_credentials.toml" --acsengine-orchestratorRelease=1.11 --test_args="--ginkgo.dryRun=true --ginkgo.focus=\[Conformance\]\[NodeConformance\]"
2018/08/31 11:20:26 azure.go:414: CWD /home/ben/go/src/k8s.io/kubernetes/kubernetes
2018/08/31 11:20:26 process.go:153: Running: hack/dev-push-hyperkube.sh
2018/08/31 11:20:26 process.go:155: Step 'hack/dev-push-hyperkube.sh' finished in 397.55µs
2018/08/31 11:20:26 azure.go:538: Deleting resource group: kubetest-45faad82-ad31-11e8-b16a-d89ef328042b-rg.
2018/08/31 11:20:26 main.go:309: Something went wrong: starting e2e cluster: Problem building hyperkube error starting hack/dev-push-hyperkube.sh: fork/exec hack/dev-push-hyperkube.sh: no such file or directory

It seems like the --extract=ci/latest flag causes it to download a k8s.io/kubernetes/kubernetes subdirectory, which is then what my CWD ends up as. This directory has a hack subdir, but it isn't the full directory:

$ ls kubernetes/hack
e2e.go  e2e-internal  get-build.sh  ginkgo-e2e.sh  lib
@benmoss benmoss changed the title 2018/08/31 10:58:16 main.go:309: Something went wrong: starting e2e cluster: Problem building hyperkube error starting hack/dev-push-hyperkube.sh: fork/exec hack/dev-push-hyperkube.sh: no such file or directory hack/dev-push-hyperkube.sh: no such file or directory Aug 31, 2018
@adelina-t
Copy link
Collaborator

Yeah, it seems the problem was that that I was not using util.K8s to get to k8s root. Changed that, will trigger a new kubetest build shortly to test.

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

No branches or pull requests

2 participants