-
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 DeprecationWarning in SRv6 L3VPN topotest #14473
tests: Fix DeprecationWarning in SRv6 L3VPN topotest #14473
Conversation
Fix the following warning: tests/topotests/bgp_srv6l3vpn_sid/test_bgp_srv6l3vpn_sid.py:42 /media/SharedUTM/workspace/frr/tests/topotests/bgp_srv6l3vpn_sid/test_bgp_srv6l3vpn_sid.py:42: DeprecationWarning: invalid escape sequence '\ ' In test_bgp_srv6l3vpn_sid.py we have a comment containing some '\' characters. Python mistakenly tries to interpret such "\" characters as escape sequences, which leads to the above warning. Let's tell Python to treat the comment as a raw string, so that it simply treats backslashes as literal characters rather than escape sequences. Signed-off-by: Carmine Scarpitta <[email protected]>
Continuous Integration Result: FAILEDContinuous 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 amd64 part 9: Failed (click for details)Topology Test Results are at https://ci1.netdef.org/browse/FRR-PULLREQ2-TOPO9U18AMD64-14301/test Topology Tests failed for Topotests Ubuntu 18.04 amd64 part 9 Topotests Ubuntu 18.04 arm8 part 1: Failed (click for details)Topotests Ubuntu 18.04 arm8 part 1: Unknown Log URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-14301/artifact/TOPO1U18ARM8/TopotestDetails/ Topotests Ubuntu 18.04 arm8 part 1: No useful log foundSuccessful on other platforms/tests
|
c:rerun |
Continuous 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-PULLREQ2-14301/ This is a comment from an automated CI system. |
Fix the following warning:
In test_bgp_srv6l3vpn_sid.py we have a comment containing some '\' characters. Python mistakenly tries to interpret such '\' characters as escape sequences, which leads to the above warning.
Let's tell Python to treat the comment as a raw string, so that it simply treats backslashes as literal characters rather than escape sequences.