-
Notifications
You must be signed in to change notification settings - Fork 138
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
Enable multiarch builds for pr-creator image #3617
Enable multiarch builds for pr-creator image #3617
Conversation
Hi @chandramerla. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with 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-sigs/prow repository. |
/test ? |
@chandramerla: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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-sigs/prow repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the presubmit as well?
project-infra/github/ci/prow-deploy/files/jobs/kubevirt/project-infra/project-infra-presubmits.yaml
Line 422 in 0f24021
./publish_image.sh -b pr-creator quay.io kubevirtci |
Then I will be able to run rehearsals to test it.
@brianmcarey I've updated project-infra-presubmits.yaml |
/rehearse |
Rehearsal jobs created for this PR:
You can trigger rehearsal for all jobs by commenting either For a specific PR you can comment For a list of jobs that you can rehearse you can comment |
@chandramerla The resource limits will have to removed from the prowjobs as we are doing emulated builds. I can see the rehearsal is running very slowly due to strict CPU limits. |
I've removed the resource section completely from the spec section, so I believe it falls back to defaults which I assure are higher :) The last job run failed (unexpected disconnect) during git checkout of test-infra repo. Could it be due to network issues or github rate limits?
|
/retest |
@chandramerla: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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-sigs/prow repository. |
/rehearse |
Rehearsal jobs created for this PR:
You can trigger rehearsal for all jobs by commenting either For a specific PR you can comment For a list of jobs that you can rehearse you can comment |
/rehearse |
Rehearsal jobs created for this PR:
You can trigger rehearsal for all jobs by commenting either For a specific PR you can comment For a list of jobs that you can rehearse you can comment |
5ec81c0
to
dd1468b
Compare
dd1468b
to
5ec81c0
Compare
c0a88de
to
b16ee49
Compare
Last run of job rehearsal-build-pr-creator-image failed as arm64 build output path for labels-checker ie., ./bazel-out/aarch64-fastbuild/bin/robots/cmd/labels-checker/labels-checker_/labels-checker So, Now I've updated bazel based build of labels-checker with go native build and tested it locally and multi-arch build of pr-creator is successful. As bazel is not supported in s390x, I've replaced bazel based build with go native build, there the above problem won't be there anyway as it generates the output in the given path across archs. Could someone please trigger reharse job again? |
/rehearse |
Rehearsal jobs created for this PR:
You can trigger rehearsal for all jobs by commenting either For a specific PR you can comment For a list of jobs that you can rehearse you can comment |
/test all |
… and labels-checker build to go instead of bazel As bazel isn't supported on s390x, changed the bazel based build of labels-checker to go native way of building Signed-off-by: chandramerla <156769580+chandramerla@users.noreply.github.com>
b16ee49
to
0617dbb
Compare
/test all |
github/ci/prow-deploy/files/jobs/kubevirt/project-infra/project-infra-postsubmits.yaml
Show resolved
Hide resolved
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
memory: "16Gi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please just re-add the memory requests here ? This just ensures that is gets enough RAM on the node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianmcarey You mean only memory requests ie.,
resources: requests: memory: "16Gi"
without adding back the cpu requests and memory+cpu limits ?
P.S: As we discussed earlier in DM, I will add -a flag to ./publish_multiarch_image.sh once testing is complete as this is pre-submit job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianmcarey You mean only memory requests ie.,
resources: requests: memory: "16Gi"
without adding back the cpu requests and memory+cpu limits ?
Yes without the cpu requests and memory+cpu limits - thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.S: As we discussed earlier in DM, I will add -a flag to ./publish_multiarch_image.sh once testing is complete as this is pre-submit job.
I am ok with leaving the presubmit as is for now - this image doesn't get updated that often so doing the full build of the three images in the presubmit should not be too costly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better I will add -a. That way I can keep the same resource requests 16Gi, than changing to 29Gi, as multi-arch build for all archs needs more resources. Also to be consistent with other image builds in presubmits. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now I'm leaving this as is (without -a) and adding 29Gi for memory.
Later before merge I can change - to add -a and keeping only memory request to 16Gi.
…blish multi-arch images Signed-off-by: chandramerla <156769580+chandramerla@users.noreply.github.com>
…lti-arch images Signed-off-by: chandramerla <156769580+chandramerla@users.noreply.github.com>
0617dbb
to
773a121
Compare
/rehearse |
Rehearsal jobs created for this PR:
You can trigger rehearsal for all jobs by commenting either For a specific PR you can comment For a list of jobs that you can rehearse you can comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey 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 |
@chandramerla: Updated the
In response to this:
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-sigs/prow repository. |
What this PR does / why we need it:
This PR updates base image (golang) version and Go version to newer versions and mainly enables multi-arch images for pr-creator.
Multi-arch images for pr-creator are needed as now with #3566 we want to move PR creation part into periodic-kubevirtci-bump-centos-base-s390x. So that after x86 centos images are built, followed by s390x builds and manifest-list, we will create the PR in the s390x machine.
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 #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: