Implementation of Cisco Drop Counters Test#5455
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new functional test to validate Cisco-specific pipeline drop counters. It establishes the necessary infrastructure by adding a new deviation field to the metadata schema and implementing a test suite that leverages functional translators to verify drop counter increments under specific traffic conditions, such as L3 route lookup failures and null adjacency drops. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Pull Request Functional Test Report for #5455 / 18449e6Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new test for Cisco-specific vendor drop counters, including the necessary deviations and metadata updates. The test verifies that specific drop reasons are correctly reported in telemetry. Feedback from the review suggests using t.Fatalf instead of t.Errorf when translation fails to ensure the test fails fast. Additionally, it is recommended to enhance the L3RouteLookupFailed and MPLSLabelMiss subtests by actively triggering traffic drops and verifying that the corresponding counters increment, rather than just checking for their presence.
rohit-rp
left a comment
There was a problem hiding this comment.
Address gemini comments plz
|
@RishabhAgarwal-2001 add pass logs to b/512764000 |
Addressed Gemini comments and have also added pass logs. Additionally, I have added comments in the test implementation to ensure the FPT-Gap analysis check does not fail |
No description provided.