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

E2e tests are failing #1552

Closed
mkumatag opened this issue Dec 16, 2023 · 2 comments · Fixed by #1553
Closed

E2e tests are failing #1552

mkumatag opened this issue Dec 16, 2023 · 2 comments · Fixed by #1553
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@mkumatag
Copy link
Member

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:
prow e2e tests failing with following error

Docker in Docker enabled, initializing...
================================================================================
Starting Docker: docker.
Waiting for docker to be ready, sleeping for 1 seconds.
================================================================================
Done setting up docker in docker.
+ WRAPPED_COMMAND_PID=156
+ ./scripts/ci-e2e.sh
+ wait 156
error: unknown flag: --short
See 'kubectl version --help' for usage.
./scripts/../hack/ensure-kubectl.sh: line 44: kubectl_version[2]: unbound variable
./scripts/../hack/ensure-kubectl.sh: line 45: kubectl_version[2]: unbound variable
+ EXIT_VALUE=1
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
Stopping Docker: dockerProgram process in pidfile '/var/run/docker-ssd.pid', 1 process(es), refused to die.
================================================================================
Done cleaning up after docker in docker.

e.g: https://prow.ppc64le-cloud.cis.ibm.net/view/gs/ppc64le-kubernetes/logs/periodic-capi-provider-ibmcloud-e2e-powervs/1735766765889130496

What did you expect to happen:

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels Dec 16, 2023
@mkumatag mkumatag added this to the v0.7.x milestone Dec 16, 2023
@mkumatag
Copy link
Member Author

Because of this change ppc64le-cloud/test-infra#435 now e2e tests in the prow using the latest kubectl(1.28) which removed this deprecate flag, hence we need to remove this flag from the script as well.

@mkumatag
Copy link
Member Author

deprecation message with the older release:

% kubectl version --client
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"clean", BuildDate:"2023-05-17T14:20:07Z", GoVersion:"go1.20.4", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v5.0.1

with 1.28 onwards:

% kubectl version --client --short
error: unknown flag: --short
See 'kubectl version --help' for usage.
(base)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants