Added Logging and Enhancements in Qos test - #319
Merged
Conversation
haricharan-candela
self-requested a review
July 29, 2026 11:56
haricharan-candela
approved these changes
Jul 29, 2026
| dropb_connections.update({keys[i]: avg_drop_b_per[i]}) | ||
| logger.info("connections download {}".format(connections_download)) | ||
| logger.info("connections {}".format(connections_upload)) | ||
| # logger.info("connections download {}".format(connections_download)) |
Collaborator
There was a problem hiding this comment.
@litincandela please remove this commented out lines if its not required.
| return matched, abort, all_dataframes | ||
| return matched, abort | ||
|
|
||
| def update_nav_data_for_all_cxs_stopped(self): |
Collaborator
There was a problem hiding this comment.
@litincandela Description for some functions like this in short
Comment on lines
+625
to
+627
| # CX names are prefixed with the resource id (e.g. "1.16androidsamsunga7_UDP_UL_BE-8" | ||
| # -> port "1.16"), mirroring the prefix already parsed in monitor_cx(). Used to report | ||
| # device issues against a recognizable port. |
Collaborator
There was a problem hiding this comment.
Just use doc strings for function
Comment on lines
+754
to
+760
| Polls CX presence in the layer-3 endpoint list while every created CX is missing, giving | ||
| devices a chance to reappear before the caller gives up. Also honors a user-initiated | ||
| stop from the webgui (same running.json check used in the monitor loop) during the wait, | ||
| so a stop request isn't delayed by the full retry window. | ||
|
|
||
| Returns True as soon as at least one CX responds again or the user stops the test, False | ||
| if `timeout` seconds elapse with every CX still missing and no stop request. |
Collaborator
There was a problem hiding this comment.
2-3 lines summarized lines are fine
added 5 commits
July 30, 2026 06:33
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO"
Signed-off-by: litincandela <litinommi@candelatech.com>
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO"
Signed-off-by: litincandela <litinommi@candelatech.com>
…stop responding
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO"
Signed-off-by: litincandela <litinommi@candelatech.com>
…CX Not Found" logs
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO"
Signed-off-by: litincandela <litinommi@candelatech.com>
…unresponsive
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO" \
--robot_ip 192.168.204.64 \
--rotation 30,90 \
--coordinate 3,4 \
--robot_test
Signed-off-by: litincandela <litinommi@candelatech.com>
litincandela
force-pushed
the
qos_logging
branch
from
July 30, 2026 07:29
2b4d2ad to
7758e92
Compare
| return matched, abort | ||
|
|
||
| def update_nav_data_for_all_cxs_stopped(self): | ||
| """Mark the WebUI navigation state as completed.""" |
Collaborator
There was a problem hiding this comment.
Change the doc string
added 4 commits
July 30, 2026 07:37
Signed-off-by: litincandela <litinommi@candelatech.com>
…arnings
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO" \
--robot_ip 192.168.204.64 \
--rotation 30,90 \
--coordinate 3,4 \
--robot_test
Signed-off-by: litincandela <litinommi@candelatech.com>
…t coordinate
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO" \
--robot_ip 192.168.204.64 \
--rotation 30,90 \
--coordinate 3,4 \
--robot_test
Signed-off-by: litincandela <litinommi@candelatech.com>
… reporting
VERIFIED CLI: python3 lf_interop_qos.py --ap_name Cisco \
--mgr 192.168.207.78 \
--mgr_port 8080 \
--upstream eth1 \
--test_duration 1m \
--download 0 \
--upload 1000000 \
--traffic_type lf_udp \
--tos "BK,BE,VI,VO" \
--robot_ip 192.168.204.64 \
--rotation 30,90 \
--coordinate 3,4 \
--robot_test
Signed-off-by: litincandela <litinommi@candelatech.com>
litincandela
force-pushed
the
qos_logging
branch
from
July 30, 2026 07:38
7758e92 to
ee2e3c2
Compare
goyalsaurabh06
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the stability of robot monitoring and handling of CX/device failures during test execution in QOS Test. It also reduces unnecessary log spam and makes reports more useful for debugging.
Changes
Below is the csv for the clients issues:
clients_issue.csv
Below is one of the logs where we got empty response from the api and how we are handling it:
Logs: