-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
E2E tests broken #1475
Comments
I think it makes sense to update our tests to run on kind instead of switching the GKE channel to rapid or use the latest release from the stable channel both of which would result in using k8s >1.23 |
dibyom
added a commit
to dibyom/triggers
that referenced
this issue
Nov 2, 2022
In our Prow based CI environment, the e2e tests currently run on GKE clusters provisioned using Boskos. This change enables them to run against a kind cluster following the steps outlined in https://github.com/tektoncd/plumbing/blob/main/docs/kind-e2e.md Part of tektoncd#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
4 tasks
dibyom
added a commit
to dibyom/plumbing
that referenced
this issue
Nov 2, 2022
Follows the guide in docs/kind-e2e.md with a couple of changes to match the current pipeline e2e tests: 1. Use latest builder image for the time being 2. Adds a `pipeline-kind-e2e: "true"` label that is used for podAntiAffinity - we don't want multiple kind jobs running on the same nodes. Part of tektoncd/triggers#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
2 tasks
Looks like stable channels for gke is now using 1.23:
So, a quicker fix would be to update our plumbing to include tektoncd/plumbing#1251 |
dibyom
added a commit
to dibyom/triggers
that referenced
this issue
Nov 2, 2022
This commit updates our plumbing dependency to pull in tektoncd/plumbing#1251 which updates the GKE image to cos_containerd. The older cos image is no longer supported as of GKE v1.23. Part of tektoncd#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
4 tasks
dibyom
added a commit
to dibyom/triggers
that referenced
this issue
Nov 2, 2022
This commit updates our plumbing dependency to pull in tektoncd/plumbing#1251 which updates the GKE image to cos_containerd. The older cos image is no longer supported as of GKE v1.23. Part of tektoncd#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
dibyom
added a commit
to dibyom/triggers
that referenced
this issue
Nov 3, 2022
This commit drops the Triggers PodSecurityPolicy since its deprecated and is going to be removed in Kubernetes 1.25 in favor of PodSecurityAdmission. In addition, it adds the `securityContext` required for the "restricted" PodSecurityAdmission levels. These changes are necessary for Triggers to work with Pipelines v0.41 and higher because tektoncd/pipeline#5652 started enforcing the restricted pod security level for all pods in the `tekton-pipelines` namespace (which includes the triggers controller, webhook, and core interceptor deployments). Fixes tektoncd#1447 and required for tektoncd#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
dibyom
added a commit
to dibyom/triggers
that referenced
this issue
Nov 3, 2022
This commit drops the Triggers PodSecurityPolicy since its deprecated and is going to be removed in Kubernetes 1.25 in favor of PodSecurityAdmission. In addition, it adds the `securityContext` required for the "restricted" PodSecurityAdmission levels. These changes are necessary for Triggers to work with Pipelines v0.41 and higher because tektoncd/pipeline#5652 started enforcing the restricted pod security level for all pods in the `tekton-pipelines` namespace (which includes the triggers controller, webhook, and core interceptor deployments). Fixes tektoncd#1447 and required for tektoncd#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
tekton-robot
pushed a commit
that referenced
this issue
Nov 4, 2022
This commit updates our plumbing dependency to pull in tektoncd/plumbing#1251 which updates the GKE image to cos_containerd. The older cos image is no longer supported as of GKE v1.23. Part of #1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
tekton-robot
pushed a commit
that referenced
this issue
Nov 4, 2022
This commit drops the Triggers PodSecurityPolicy since its deprecated and is going to be removed in Kubernetes 1.25 in favor of PodSecurityAdmission. In addition, it adds the `securityContext` required for the "restricted" PodSecurityAdmission levels. These changes are necessary for Triggers to work with Pipelines v0.41 and higher because tektoncd/pipeline#5652 started enforcing the restricted pod security level for all pods in the `tekton-pipelines` namespace (which includes the triggers controller, webhook, and core interceptor deployments). Fixes #1447 and required for #1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
tekton-robot
pushed a commit
that referenced
this issue
Nov 7, 2022
In our Prow based CI environment, the e2e tests currently run on GKE clusters provisioned using Boskos. This change enables them to run against a kind cluster following the steps outlined in https://github.com/tektoncd/plumbing/blob/main/docs/kind-e2e.md Part of #1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
Repository owner
moved this from Todo
to Done
in Tekton Community Roadmap
Nov 8, 2022
dibyom
added a commit
to dibyom/plumbing
that referenced
this issue
Nov 30, 2022
Follows the guide in docs/kind-e2e.md with a couple of changes to match the current pipeline e2e tests: 1. Use latest builder image for the time being 2. Adds a `pipeline-kind-e2e: "true"` label that is used for podAntiAffinity - we don't want multiple kind jobs running on the same nodes. Part of tektoncd/triggers#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
dibyom
added a commit
to dibyom/plumbing
that referenced
this issue
Nov 30, 2022
Follows the guide in docs/kind-e2e.md with a couple of changes to match the current pipeline e2e tests: 1. Use latest builder image for the time being 2. Adds a `pipeline-kind-e2e: "true"` label that is used for podAntiAffinity - we don't want multiple kind jobs running on the same nodes. Part of tektoncd/triggers#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
dibyom
added a commit
to dibyom/plumbing
that referenced
this issue
Jan 20, 2023
Follows the guide in docs/kind-e2e.md with a couple of changes to match the current pipeline e2e tests: 1. Use latest builder image for the time being 2. Adds a `pipeline-kind-e2e: "true"` label that is used for podAntiAffinity - we don't want multiple kind jobs running on the same nodes. Part of tektoncd/triggers#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
tekton-robot
pushed a commit
to tektoncd/plumbing
that referenced
this issue
Jan 26, 2023
Follows the guide in docs/kind-e2e.md with a couple of changes to match the current pipeline e2e tests: 1. Use latest builder image for the time being 2. Adds a `pipeline-kind-e2e: "true"` label that is used for podAntiAffinity - we don't want multiple kind jobs running on the same nodes. Part of tektoncd/triggers#1475 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Expected Behavior
E2E tests run successfully
Actual Behavior
With Pipeline v0.41 release, the min version of k8s needed is 1.23. Triggers e2e tests first install the latest version of Pipelines. Currently they run on GKE clusters provisioned using Boskos. By default, the use the gke stable channel where the default release is 1.22. This means all of our e2e tests are now failing while trying to install pipelines.
See
as an example.
Logs: https://prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_triggers/1469/pull-tekton-triggers-integration-tests/1587533862802558976
The text was updated successfully, but these errors were encountered: