-
Notifications
You must be signed in to change notification settings - Fork 2.7k
etcd: Add etcd functional tests presubmits for release-3.4 #34849
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: joshjms The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Let's wait until etcd-io/etcd#20021 is merged. |
1960da9
to
029362c
Compare
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.
Thanks for the pull request, @joshjms. Please take a look at my comments.
nodeSelector: | ||
kubernetes.io/arch: amd64 |
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.
I think by default everything runs on the AMD64 arch, so there's no need for this.
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.
Ok! I removed it
- -c | ||
- | | ||
apt-get update && apt-get install -y netcat-openbsd | ||
GOARCH=amd64 make test-functional |
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.
We can also remove GOARCH
here, as it will run on amd64.
GOARCH=amd64 make test-functional | |
make test-functional |
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.
But... other jobs define this. So, we may want to keep it.
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.
I would tend to leave this in to keep the invocation appearances similar across all the jobs. Happy either way.
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.
Let's leave it then :)
requests: | ||
cpu: "4" | ||
memory: "2Gi" | ||
limits: | ||
cpu: "4" | ||
memory: "2Gi" |
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.
How did we establish these resource requests and limits? Do we need 4 CPUs? Is 2 Gi enough RAM?
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.
I used the unit tests as reference. I think we can try let it run for a few times and tune it later. What do you think?
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.
They may be more resource-intensive. I suggest increasing the memory to avoid OOM kills once we merge the pull request. It's always easier to overprovision and fine-tune, rather than underprovision and try to get it up and running.
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.
Ok! Will do
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.
I increased it to 8Gi
029362c
to
d6e2ba5
Compare
d6e2ba5
to
8d6b23b
Compare
/retest |
8d6b23b
to
dcbec28
Compare
Signed-off-by: joshjms <joshjms1607@gmail.com>
dcbec28
to
9c1a8c8
Compare
/close We're not migrating functional tests. Refer to etcd-io/etcd#20021 (comment) |
@ivanvc: Closed this PR. 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. |
/cc @ivanvc @jmhbnz
ref: #32754; etcd-io/etcd#20021