-
Notifications
You must be signed in to change notification settings - Fork 740
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
[202405]: bgp/test_reliable_tsa.py
fails with TypeError: '<' not supported between instances of 'int' and 'NoneType'
#15513
Comments
Hi @arista-nwolfe, having a look around this should be caught by:
Does this happen with test_startup_tsa_tsb_service.py? |
Hi @Javier-Tan it looks like those checks are only in
|
@arista-nwolfe my mistake, I had both open and mixed them up, I'm happy to implement that safeguard to avoid this issue? |
No worries, yeah that would be great, I guess one question would be whether or not the test If so then it would make sense to put that guard directly into the function |
Yea that sounds like the best way to do this, will implement a guard in the get_startup_tsb_timer so we don't rely on per test guards |
Will be fixed by sonic-net/sonic-buildimage#20804, will change previous PR to fail T2 devices where we can't find startup_tsa_tsb_timer value |
@arista-nwolfe do you see this issue fixed with sonic-net/sonic-buildimage#20804 ? |
Yeah sorry, this issue is fixed, closing |
Issue Description
Looks like
bgp/test_reliable_tsa.py
was added recently in #13290Looks like the
timeout
in thewait_until
is passed asNone
Also worth noting that this
bgp/test_reliable_tsa.py
seems to take a long time to run and generates a massive log file (~30GB)-rw-r--r-- 1 nwolfe nwolfe 30959840466 Nov 12 17:24 logs/bgp/test_reliable_tsa.log
Results you see
Test passing
None
as the timeout parameter towait_until
Results you expected to see
Test should pass an integer value for
timeout
Is it platform specific
generic
Relevant log output
No response
Output of
show version
No response
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: