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
Fix iosxr integration tests #34663
Fix iosxr integration tests #34663
Conversation
CI failure in sanity tests is valid. The integration test errors are unrelated and can be ignored. |
The test
The test
The test
The test
The test
|
raise ConnectionError(to_text(rpc_error, errors='surrogate_then_replace')) | ||
return warnings | ||
except XMLSyntaxError: | ||
raise ConnectionError(rpc_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.
Guess as xml.tree
doesn't have XMLSyntaxError
, a catch all except:
would be good here when lxml
is not installed?
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 we're importing three different exceptions to that name, depending on context, but I think we should have everything covered now
SUMMARY
Fixes the netconf tests and cleans up some other things I missed the first time
ISSUE TYPE
COMPONENT NAME
iosxr
ANSIBLE VERSION