-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
tests: fix ospf json config confusion for topojson. #9482
base: master
Are you sure you want to change the base?
Conversation
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 your contribution to FRR!
Style checking failed; check logs
If you are a new contributor to FRR, please see our contributing guidelines.
After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
Outdated results 💚Basic BGPD CI results: SUCCESS, 0 tests failed
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULContinuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-21345/ This is a comment from an automated CI system. |
af81dca
to
5555f0d
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 your contribution to FRR!
Style checking failed; check logs
If you are a new contributor to FRR, please see our contributing guidelines.
After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
@@ -233,7 +233,7 @@ def red_connected(dut, config=True): | |||
ospf_red = { | |||
dut: { | |||
"ospf": { | |||
"redistribute": [{"redist_type": "connected", "del_action": True}] | |||
"redistribute": [{"redist_type": "connected", "delete": True}] |
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.
If you look below, the function being called is create_router_ospf
. This function did not handle the old argument of del_action
, so this change means this config is now being removed (which one expects) whereas before it was not, yet the tests passed previously.
Also note create_rotuer_ospf
calls __create_ospf_global
which then has multiple custom keys besides delete
for various config which it should not; however, this does not include del_action
as mentioned above.
@@ -219,7 +219,7 @@ def red_connected(dut, config=True): | |||
ospf_red = { | |||
dut: { | |||
"ospf6": { | |||
"redistribute": [{"redist_type": "connected", "del_action": True}] | |||
"redistribute": [{"redist_type": "connected", "delete": True}] |
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.
Same comment as above. This is calling create_router_ospf
which did not do anything with the previous del_action
key, but now will with the delete
key. Yet the tests passed previously.
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.
Some of these changes will alter previous test behavior from the unexpected but passing to the expected but 'who knows'. The calls to create_router_ospf
in particular should be checked and why those tests pass prior to the key change. The non-delete
custom keys used inside create_router_ospf
should also be cleaned up to use delete
as well.
@@ -255,7 +255,7 @@ def red_static(dut, config=True): | |||
ospf_red = { | |||
dut: { | |||
"ospf6": { | |||
"redistribute": [{"redist_type": "static", "del_action": True}] | |||
"redistribute": [{"redist_type": "static", "delete": True}] |
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.
Same comment as above. This is calling create_router_ospf
which did not do anything with the previous del_action
key, but now will with the delete
key. Yet the tests passed previously.
@@ -273,7 +273,7 @@ def red_connected(dut, config=True): | |||
ospf_red = { | |||
dut: { | |||
"ospf6": { | |||
"redistribute": [{"redist_type": "connected", "del_action": True}] | |||
"redistribute": [{"redist_type": "connected", "delete": True}] |
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.
Same comment as above. This is calling create_router_ospf
which did not do anything with the previous del_action
key, but now will with the delete
key. Yet the tests passed previously.
Continuous Integration Result: FAILEDSee below for issues. This is a comment from an automated CI system. Get source / Pull Request: SuccessfulBuilding Stage: SuccessfulBasic Tests: FailedTopotests Ubuntu 18.04 i386 part 9: Failed (click for details)Topology Test Results are at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-TOPO9U18I386-21348/test Topology Tests failed for Topotests Ubuntu 18.04 i386 part 9:
see full log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-21348/artifact/TOPO9U18I386/ErrorLog/log_topotests.txt Successful on other platforms/tests
|
This PR is stale because it has been open 180 days with no activity. Comment or remove the |
This needs to be rebased |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: nguggarigoud nguggarigoud@vmware.com