-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Fake docker-client assigns random IPs to containers #59832
Fake docker-client assigns random IPs to containers #59832
Conversation
@shyamjvs: Adding do-not-merge/release-note-label-needed because the release note process has not been followed. One of the following labels is required "release-note", "release-note-action-required", or "release-note-none". 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. |
/test pull-kubernetes-kubemark-e2e-gce-big To verify if we stop seeing those 422s for |
@shyamjvs - two things:
|
I'll look into the bazel failure (which I guess is because of unit test failing). Let's wait for your run with debug statements to know more. |
Yes - 2.3.4.5 is hardcoded somewhere.
Agree - it helped somewhat, but I wouldn't expect any "BadRequest" errors coming from our components... |
So what is happening is this:
You need to generate addresse that will pass this validation: |
In particular, what you seem to break is this function: |
Thanks a lot for looking into it @wojtek-t. I'll fix it by making the IP address always start with 10 (i.e 10.x.x.x) which should avoid all those failure conditions in that function. |
6296f07
to
113844f
Compare
113844f
to
b54aa14
Compare
Fixed the unit test (hopefully) by using a deterministic random seed. @wojtek-t PTAL |
/test pull-kubernetes-kubemark-e2e-gce-big |
b54aa14
to
517301d
Compare
I verified the impact on: #59807
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shyamjvs, wojtek-t 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 OWNERS Files:
Approvers can indicate their approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Thanks @wojtek-t. To add to it, the |
@shyamjvs: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
Fixes #59823
/cc @wojtek-t @Random-Liu