-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug 2257371: external: include 255 as a valid ip range #555
Bug 2257371: external: include 255 as a valid ip range #555
Conversation
@subhamkrai: This pull request references Bugzilla bug 2257371, which is invalid:
Comment 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/test-infra repository. |
@@ -549,7 +549,7 @@ def _invalid_endpoint(self, endpoint_str): | |||
f"IP address parts should be numbers: {ipv4}" | |||
) | |||
intPart = int(eachPart) | |||
if intPart < 0 or intPart > 254: | |||
if intPart < 0 or intPart > 255: |
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.
in the unit test you can check, can you add a small test
And do we need upstream fix for this in lower version
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'm not planning to add a unit test for this as the future version already has an appropriate fix. And I don't think we are doing any release for the upstream version of this older version.
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.
maybe a check with ip: 1x.x.xxx.255 like this in the ci
But moreover it looks fine
@parth-gr: changing LGTM is restricted to collaborators 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/test-infra repository. |
@@ -549,7 +549,7 @@ def _invalid_endpoint(self, endpoint_str): | |||
f"IP address parts should be numbers: {ipv4}" | |||
) | |||
intPart = int(eachPart) | |||
if intPart < 0 or intPart > 254: | |||
if intPart < 0 or intPart > 255: |
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.
maybe a check with ip: 1x.x.xxx.255 like this in the ci
But moreover it looks fine
@parth-gr: changing LGTM is restricted to collaborators 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/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: parth-gr, subhamkrai 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 |
external script was checking ip range up to 254 which is incorrect, the valid range is 0-255 and if someone passes 255 it will through error like ``` Out of range IP addresses ``` so including 255 as a valid range. Signed-off-by: subhamkrai <[email protected]>
7c96223
to
4094652
Compare
@subhamkrai: This pull request references Bugzilla bug 2257371, which is invalid:
Comment 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/test-infra repository. |
/bugzilla refresh |
@subhamkrai: This pull request references Bugzilla bug 2257371, which is invalid:
Comment 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/test-infra repository. |
/bugzilla refresh |
@subhamkrai: This pull request references Bugzilla bug 2257371, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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/test-infra repository. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: nehaberry. Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs. 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/test-infra repository. |
@travisn CI errors are fixed in newer versions, I don't think my changes are affecting this. Let me know wdyt, should we go ahead with these changes or need to fix CI. |
@subhamkrai Agreed the CI issues are not related. We can merge this when it's approved. |
/bugzilla refresh |
@subhamkrai: This pull request references Bugzilla bug 2257371, which is invalid:
Comment 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/test-infra repository. |
/bugzilla refresh |
@subhamkrai: This pull request references Bugzilla bug 2257371, which is invalid:
Comment 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/test-infra repository. |
@agarwal-mudit we need to fix this for the bot? any idea where I can fix this? |
/bugzilla refresh |
@agarwal-mudit: This pull request references Bugzilla bug 2257371, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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/test-infra repository. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: nehaberry. Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs. 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/test-infra repository. |
I think we can go ahead with PR multiple CI fixes are not backported to 4.14 and earlier branches, For examplehttps://github.com//pull/569 |
de60f14
into
red-hat-storage:release-4.13
@subhamkrai: All pull requests linked via external trackers have merged: Bugzilla bug 2257371 has been moved to the MODIFIED state. 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/test-infra repository. |
Description of your changes:
external: include 255 as a valid ip range
Checklist:
skip-ci
on the PR.