-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
To fix iosxr_l3_interfaces module zuul tests #61592
Conversation
Build failed (third-party-check pipeline) integration testing with
|
recheck |
@@ -96,6 +96,10 @@ def filter_dict_having_none_value(want, have): | |||
if each.get('secondary') and diff_ip is True: | |||
test_key_dict.update({'secondary': True}) | |||
test_dict.update({'ipv4': test_key_dict}) | |||
# Checks if want doesn't have secondary IP but have has secondary IP set |
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.
so the issue was related with this? I't be great to have some description about the fix around. 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.
@danielmellado the issue wasn't around this code fix, the problem was with how iosxr handles virtual and logical interfaces, previously I was using virtual and logical interfaces combo in integration tests and now have moved the tests to use zuul physical interface only instead of virtual ones and this resulted in solving the intermittent failures. I came across for the above code fix when I was trying with certain use cases myself, and that's why the respective comment for the fix
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.
@justjais great to know! would you mind updating the PR message to include a summary of this? I think it'd be easier afterwards to check what the root case/root fix was.
Besides that the code LGTM!
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.
@danielmellado sure, will open an issue with the description and link to the PR. :)
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.
Waiting on Zuul + PR description update ;)
Build failed (third-party-check pipeline) integration testing with
|
recheck |
@justjais this doesn't fix the issue 100%, but is an improvement. See the following for a failure: |
Build succeeded (third-party-check pipeline).
|
So, the error above is different then the original issue of iosxr_l3_interfaces : Assert that after dict is correctly generated failing. Given the impact of this failure to our testing, I'm inclined to merge this PR and work to fix above in another. I am just waiting for another PR to finish testing this for more test results. |
Okay, given this seems to fix the original issue, I am going to merge. But we also need to work on the error above. |
* fix 61540 * fix utils
* fix 61540 * fix utils (cherry picked from commit 24ad1df)
* fix 61540 * fix utils (cherry picked from commit 24ad1df)
* fix 61540 * fix utils
SUMMARY
PR fixes
iosxr_l3_interfaces
zuul tests failing intermittently for different python run, raised in issue #61540 and also, contain fix for slight issue observed in Override and Replace scenario #61600ISSUE TYPE
COMPONENT NAME
iosxr_l3_interfaces
ADDITIONAL INFORMATION