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

🐛 Invoke ginkgo in kubetest through entrypoint #4662

Merged
merged 1 commit into from
May 25, 2021
Merged

🐛 Invoke ginkgo in kubetest through entrypoint #4662

merged 1 commit into from
May 25, 2021

Conversation

wilsonehusin
Copy link
Contributor

Signed-off-by: Wilson E. Husin [email protected]

What this PR does / why we need it:

This change is necessary due to kubernetes/kubernetes#99178 where the
conformance image now defines ENTRYPOINT (previously only CMD) which
refers to conformance runner.

Since this test would like to invoke ginkgo directly, overriding
entrypoint is necessary to preserve existing behavior.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #4660

This change is necessary due to kubernetes/kubernetes#99178 where the
conformance image now defines ENTRYPOINT (previously only CMD) which
refers to conformance runner.

Since this test would like to invoke ginkgo directly, overriding
entrypoint is necessary to preserve existing behavior.

Signed-off-by: Wilson E. Husin <[email protected]>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 25, 2021
@wilsonehusin wilsonehusin changed the title 🐛 Invoke ginkgo in kubetest through entrypoint 🐛 Invoke ginkgo in kubetest through entrypoint May 25, 2021
@CecileRobertMichon
Copy link
Contributor

/retest
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 25, 2021
@sbueringer
Copy link
Member

sbueringer commented May 25, 2021

@wilsonehusin Thx!

Looks like the change is also compatible with older conformance image versions (we also run the 1.19/1.20/1.21 conformance tests in periodics). Unfortunately, we cannot run those jobs presubmit.

I'll trigger the full tests which include a test which runs the conformance tests:
/test pull-cluster-api-full-e2e-main

We could also run the 1.21=>latest upgrade + conformance test presubmit, but that one is broken right now afaik because of a kubeadm change.

@k8s-ci-robot
Copy link
Contributor

@sbueringer: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-cluster-api-build-main
  • /test pull-cluster-api-make-main
  • /test pull-cluster-api-apidiff-main
  • /test pull-cluster-api-verify
  • /test pull-cluster-api-test-main
  • /test pull-cluster-api-e2e-main
  • /test pull-cluster-api-e2e-ipv6-main
  • /test pull-cluster-api-e2e-full-main
  • /test pull-cluster-api-e2e-workload-upgrade-1-21-latest-main

Use /test all to run the following jobs:

  • pull-cluster-api-build-main
  • pull-cluster-api-apidiff-main
  • pull-cluster-api-verify
  • pull-cluster-api-test-main
  • pull-cluster-api-e2e-main
  • pull-cluster-api-e2e-ipv6-main

In response to this:

@wilsonehusin Thx!

Looks like the change is also compatible with older conformance image versions (we also run the 1.19/1.20/1.21 conformance tests in periodics). Unfortunately we cannot run those jobs presubmit.

I'll trigger the full tests which include a test which runs the conformance tests:
/test pull-cluster-api-full-e2e-main

(we could also run in theory the 1.21=>1.22 upgrade + conformance tests on PRs, but that one is broken right now afaik because of a kubeadm change)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sbueringer
Copy link
Member

/test pull-cluster-api-e2e-full-main

@sbueringer
Copy link
Member

/lgtm

@wilsonehusin
Copy link
Contributor Author

Looks like the change is also compatible with older conformance image versions (we also run the 1.19/1.20/1.21 conformance tests in periodics).

@sbueringer yes, it should be backwards compatible! thanks for considering that factor and navigating through the tests 😄

@sbueringer
Copy link
Member

@wilsonehusin Looks like they are not even executed in our full tests: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api/4662/pull-cluster-api-e2e-full-main/1397081405292285952 (see skipped). I'll run your PR locally until the tests start, just to be safe.

@sbueringer
Copy link
Member

@wilsonehusin Looks good locally (with Kubernetes v1.19.1). gcr.io/k8s-staging-ci-images/conformance:v1.22.0-alpha.2.79_ebd61572c57947 also worked.

@fabriziopandini
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 25, 2021
@k8s-ci-robot k8s-ci-robot merged commit d2813d0 into kubernetes-sigs:master May 25, 2021
@k8s-ci-robot k8s-ci-robot added this to the v0.4 milestone May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing conformance test
5 participants