-
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
Zebra rtadv use without init #15582
Zebra rtadv use without init #15582
Conversation
donaldsharp
commented
Mar 20, 2024
- Ensure that generate_support_bundles doesn't crash the run
- Cleanup a sendmsg call that sent down uninited data.
LGTM : I am surprised that gcc/clang did not yell about it. |
it does. We are not compiling in CI with --enable-werror as we should at this point in time. Something we have been working towards. |
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.
A couple of nits regarding the log level for errors/warnings.
tests/topotests/lib/common_config.py
Outdated
@@ -936,14 +936,26 @@ def generate_support_bundle(): | |||
""" | |||
|
|||
tgen = get_topogen() | |||
if tgen is None: | |||
logger.info( |
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.
And here logger.warn()
maybe?
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.
sure
tests/topotests/lib/common_config.py
Outdated
) | ||
rnode.run("mkdir -p " + dst_bundle) | ||
except Exception as err: | ||
logger.info("Generation of Support bundle failed {}".format(err)) |
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.
Probably this should be logger.error()
?
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.
sure
valgrind is complaining about this problem. This fixes it. Signed-off-by: Donald Sharp <[email protected]>
The Support bundle generation was/is failing in both our upstream ci and locally. This cleans up the failures that I am seeing such that tests now continue to run instead of aborting the test run. Signed-off-by: Donald Sharp <[email protected]>
fdd4db7
to
ea570f2
Compare