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

Add pipelines nightly tests for ppc64le architecture #762

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Add pipelines nightly tests for ppc64le architecture #762

merged 1 commit into from
Mar 10, 2021

Conversation

svghadi
Copy link
Contributor

@svghadi svghadi commented Mar 5, 2021

This PR is similar to #663. It adds cronjob, tasks & service account to run nightly pipeline tests on remote ppc64le cluster.

  • Add secret & resource details to docs.
  • Update nightly test EventListener to include ppc64le architecture.
  • Add TriggerTemplate for nightly pipeline tests on ppc64le.
  • Add cronjob to trigger nightly ppc64le pipeline tests.
  • Add tasks to deploy, test & clean pipeline components on remote ppc64le cluster.
  • Add service account for triggering nightly tests.

The job configurations expect following resources to be present on dogfooding

  • ppc64le-kubeconfig used to access ppc64le remote k8 cluster
  • registry-credentials used to access registry on remote machine
  • registry-certificate self-signed certificate for registry on remote machine
  • ppc64le-cluster headless service & endpoint to resolve remote machine address

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

/kind feature
/cc @afrittoli

@tekton-robot tekton-robot requested a review from afrittoli March 5, 2021 12:28
@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 5, 2021
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 5, 2021

CLA Signed

The committers are authorized under a signed CLA.

@tekton-robot tekton-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 5, 2021
@tekton-robot
Copy link
Contributor

Hi @Siddhesh-Ghadi. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 5, 2021
@afrittoli
Copy link
Member

/ok-to-test

@tekton-robot tekton-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 5, 2021
- Add secret & resource details to docs.
- Update nightly test EventListener to include ppc64le architecture.
- Add TriggerTemplate for nightly pipeline tests on ppc64le.
- Add cronjob to trigger nightly ppc64le pipeline tests.
- Add tasks to deploy, test & clean pipeline components on remote ppc64le cluster.
- Add service account for triggering nightly tests.

Signed-off-by: Siddhesh Ghadi <[email protected]>
@svghadi
Copy link
Contributor Author

svghadi commented Mar 9, 2021

Hi @afrittoli, is there anything else needed for this to be merged ?

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/meow

@tekton-robot
Copy link
Contributor

@vdemeester: cat image

In response to this:

/meow

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.

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 9, 2021
- |
# busybox binary in distroless image doesn't work on ppc64le
# https://bugs.busybox.net/show_bug.cgi?id=13491
sed -i 's/gcr.io\/distroless\/base@sha256:[a-zA-Z0-9]*/registry.access.redhat.com\/ubi8\/ubi-minimal:latest/g' config/controller.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the shell image, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is. Even though distroless/base image is available for ppc64le , the busybox binary present in the image is for big endian ppc machines and fails on ppc64le(which is little endian). We are working on having a permanent fix via using debian based busybox incorporated in distroless image.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted on that distroless PR too - GoogleContainerTools/distroless#622 (comment) checking if debian repo way to install ppc64le based busybox can be option in distroless/base image .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great, thank you!
This means that the nightly / full releases we produce for ppc64le are somewhat broken, right?
Do we have an issue to track this on tekton side? We could have a separate image / release file for ppc64le, or we could wait until we have a working busybox, but it would be good to document that it's not working for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means that the nightly / full releases we produce for ppc64le are somewhat broken, right?

Yes, since we have to replace distroless with ubi, we can say its broken for ppc64le.

Do we have an issue to track this on tekton side?

I have created tektoncd/pipeline#3820 to track this.

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
I think eventually I'd like to test our nightly builds instead of building from scratch... or perhaps have two tests, one for the nightly and one like this.
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 10, 2021
@barthy1
Copy link
Member

barthy1 commented Mar 10, 2021

@afrittoli

I think eventually I'd like to test our nightly builds instead of building from scratch... or perhaps have two tests, one for the nightly and one like this.

Hey, I think we already discussed it somewhere. That can be next step in my todo list for s390x (still, I'd prefer 2 tests :) )

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. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants