Adding ACCTZ-10.1: gNSI.acctz.v1 (Accounting) Test Accounting Authentication Error - Multi-transaction Test#5475
Conversation
…ication Error - Multi-transaction Test
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 test case for the gNSI Accounting (acctz) feature, specifically focusing on verifying authentication error handling across multiple transactions. The test ensures that the device correctly generates and records accounting events when authentication fails due to backend unavailability, while also providing necessary metadata configurations to support cross-platform testing. 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
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new test for gNSI accounting (acctz) to verify authentication error records during multi-transaction scenarios where the TACACS backend is unavailable. It also adds platform-specific deviations for Arista and Cisco in the metadata. Feedback focuses on addressing resource leaks, including a potential TCP connection leak and a goroutine leak in the record collection logic. Additionally, improvements were suggested for gRPC stream error handling, specifically regarding io.EOF, and the use of t.Fatalf for terminal test failures.
Readme Location: https://github.com/openconfig/featureprofiles/blob/main/feature/gnsi/acctz/tests/AccountingAuthenErrorMulti/README.md
Attached logs here: https://partnerissuetracker.corp.google.com/u/2/issues/513474337