Skip to content

Added missing entries in test registry#5260

Merged
kapilrajput-g merged 2 commits intoopenconfig:mainfrom
kapilrajput-g:tr_update
Mar 26, 2026
Merged

Added missing entries in test registry#5260
kapilrajput-g merged 2 commits intoopenconfig:mainfrom
kapilrajput-g:tr_update

Conversation

@kapilrajput-g
Copy link
Copy Markdown
Contributor

No description provided.

@kapilrajput-g kapilrajput-g requested a review from a team as a code owner March 25, 2026 11:53
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 significantly expands the test coverage by adding numerous new test entries to the testregistry.textproto file. The changes ensure that a wider range of network features and protocols, including authentication, routing, MPLS, gRIBI, gNMI, and system functionalities, are properly registered for automated testing. Additionally, it standardizes the exec paths for several existing tests, transitioning them from direct .go file references to metadata.textproto files, which streamlines test execution metadata management.

Highlights

  • New Authentication and Authorization Tests: Added entries for 'Authz' (General Authz 1-4) and 'enrollz-1' (TPM 2.0 HMAC-based Enrollment) and 'enrollz-2' (TPM 1.2 Enrollment) tests.
  • New BGP and BMP Tests: Included 'BMP-1.1' for BMP Session Establishment and Telemetry, and 'RT-1.1' for Base BGP Session Parameters.
  • New CFM and Container Tests: Added 'CFM-1.1' for CFM over ETHoCWoMPLSoGRE and 'CNTR-3' for Container Supervisor Failover.
  • New IPSEC Tests: Introduced 'IPSEC-1.1' (IPSec with MACSec), 'IPSEC-1.2' (IPSec Scaling), and 'IPSEC-1.3' (IPSec Packet-Order) tests.
  • New MPLS and P4RT Tests: Added 'MPLS-2.2' for MPLS forwarding via static LSP to BGP next-hop and 'P4RT-3.21' for Google Discovery Protocol PacketOut with LAG.
  • New Policy Forwarding Tests: Included 'PF-1.3' for Policy-based IPv4 GRE Decapsulation and 'PF-1.24' for adding/removing interfaces bound to PBF.
  • New Platform and Routing Tests: Added 'PLT-1.3' for OnChange Subscription Test for Breakout Interfaces, 'RT-2.18' for IS-IS scale with multiple adjacencies, 'RT-10.2' for non-default route generation in ISIS, and 'SR-1.2' for Egress Node Forwarding for MPLS traffic.
  • New Replay Tests: Introduced 'Replay-1.0' for record/replay presession and 'Replay-1.1' for diff command trees tests.
  • New gRIBI Tests: Added multiple gRIBI-related tests including 'TE-2.2' (IPv4 Entry with Aggregate Ports), 'TE-8.1' (DUT Daemon Failure), various 'TE-11.x' (Backup NHG scenarios), 'TE-18.4' (ECMP hashing with MPLSoUDP), 'TestID-16.4' (gRIBI to BGP Redistribution), and 'TE-3.3' (gRIBI Get RPC).
  • New gNMI and gNOI Tests: Included 'gNMI-1.2' (Full Configuration Replace Benchmarking), 'gNMI-1.3' (Drained Configuration Convergence Time), 'gNMI-1.24' (Leaf-List Update), 'gNMI-1.27' (Sample Mode), 'GNMI-2' (Subscription List), and 'gNOI-7.1' (BootConfig) tests.
  • New System and Transceiver Tests: Added 'SYS-3.1' (AAA and TACACS+), 'SYS-4.1' (Mount Points State), 'bootz' (bootstrap), 'System-1.x' (banner, g protocol, hostname, time, software-version), and 'TRANSCEIVER-7.1' (400ZR Optics inventory) tests.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize 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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. 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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@OpenConfigBot
Copy link
Copy Markdown

OpenConfigBot commented Mar 25, 2026

Pull Request Functional Test Report for #5260 / 3664c04

No tests identified for validation.

Help

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly expands the testregistry.textproto by adding numerous new test entries across various feature areas, including Authz, BMP, CFM, Container, enrollz, IPSec, MPLS, P4RT, Policy Forwarding, Platform, BGP, ISIS, MPLS SR, Replay, gRIBI, gNMI, gNOI, System, and Transceiver. Some existing test entries were also refactored, changing their exec paths from .go files to metadata.textproto. The review comments highlight several issues with the new entries, specifically duplicate test entries for RT-2.18 and RT-10.2, a duplicate test ID TE-3.3, and several test IDs (TestID-16.4, bootz, and System-1.1 through System-1.5) that do not conform to the required uppercase alphanumeric format.

exec: "feature/gribi/mpls_in_udp/otg_tests/mpls_over_udp_tunnel_hashing_test/metadata.textproto"
}
test: {
id: "TestID-16.4"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test ID TestID-16.4 does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? defined in proto/testregistry.proto. The alphabetic part of the ID should be all uppercase. Please change it to TESTID-16.4.

Suggested change
id: "TestID-16.4"
id: "TESTID-16.4"

exec: "feature/system/mount_points/tests/system_mount_points_state/metadata.textproto"
}
test: {
id: "bootz"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test ID bootz does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? defined in proto/testregistry.proto. Please assign a valid ID that follows this pattern.

@dplore
Copy link
Copy Markdown
Member

dplore commented Mar 25, 2026

Please fix the gemini comments, they all look correct to me?

@kapilrajput-g
Copy link
Copy Markdown
Contributor Author

Please fix the gemini comments, they all look correct to me?

For redundant entries , Definitely have to fix those. For test id format , can keep those as it, as these will require changes in readme's and other applicable places, which are not related to current changes.

@dplore
Copy link
Copy Markdown
Member

dplore commented Mar 25, 2026

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly expands the testregistry.textproto file by adding numerous new test entries across various feature areas, including Authz, BMP, CFM, Container, enrollz, IPSec, MPLS, P4RT, Policy Forwarding, Platform, BGP/ISIS routing, Segment Routing, Replay, gRIBI, gNMI, gNOI, System, and Transceiver functionalities. It also refactors some existing test entries by updating their exec paths to reference metadata.textproto files instead of direct .go files. The review comments identify several instances where the newly added test IDs do not conform to the required naming convention [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto, necessitating corrections to ensure proper formatting and adherence to the schema.

exec: "feature/gribi/mpls_in_udp/otg_tests/mpls_over_udp_tunnel_hashing_test/metadata.textproto"
}
test: {
id: "TestID-16.4"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The test ID TestID-16.4 appears to be a placeholder and does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Please replace it with a valid and meaningful test ID, and update the plan_id in feature/gribi/otg_tests/gribi_to_bgp_redistribution/metadata.textproto accordingly.

exec: " "
}
test: {
id: "Authz"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test ID Authz does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Please use a valid ID and update the plan_id in feature/gnsi/authz/tests/authz/metadata.textproto accordingly.

Suggested change
id: "Authz"
id: "AUTHZ-1.0"

Comment on lines +391 to +402
test: {
id: "enrollz-1"
description: "enrollz test for TPM 2.0 HMAC-based Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm20_hmac/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm20_hmac/metadata.textproto"
}
test: {
id: "enrollz-2"
description: "enrollz test for TPM 1.2 Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm12/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm12/metadata.textproto"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test IDs enrollz-1 and enrollz-2 do not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Test IDs should start with uppercase letters. Please correct these IDs and update the plan_id in the corresponding metadata.textproto files.

Suggested change
test: {
id: "enrollz-1"
description: "enrollz test for TPM 2.0 HMAC-based Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm20_hmac/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm20_hmac/metadata.textproto"
}
test: {
id: "enrollz-2"
description: "enrollz test for TPM 1.2 Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm12/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm12/metadata.textproto"
}
test: {
id: "ENROLLZ-1"
description: "enrollz test for TPM 2.0 HMAC-based Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm20_hmac/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm20_hmac/metadata.textproto"
}
test: {
id: "ENROLLZ-2"
description: "enrollz test for TPM 1.2 Enrollment flow"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/security/attestz/tests/enrollz_tpm12/README.md"
exec: "feature/security/attestz/tests/enrollz_tpm12/metadata.textproto"
}

Comment on lines +1402 to +1413
test: {
id: "Replay-1.0"
description: "Record/replay presession test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/presession_test/README.md"
exec: "feature/replay/tests/presession_test/metadata.textproto"
}
test: {
id: "Replay-1.1"
description: "Record/replay diff command trees test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/diff_command_trees/README.md"
exec: "feature/replay/tests/diff_command_trees/metadata.textproto"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test IDs Replay-1.0 and Replay-1.1 do not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. The prefix should be at least two uppercase letters. Please correct these IDs and update the plan_id in the corresponding metadata.textproto files.

Suggested change
test: {
id: "Replay-1.0"
description: "Record/replay presession test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/presession_test/README.md"
exec: "feature/replay/tests/presession_test/metadata.textproto"
}
test: {
id: "Replay-1.1"
description: "Record/replay diff command trees test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/diff_command_trees/README.md"
exec: "feature/replay/tests/diff_command_trees/metadata.textproto"
}
test: {
id: "REPLAY-1.0"
description: "Record/replay presession test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/presession_test/README.md"
exec: "feature/replay/tests/presession_test/metadata.textproto"
}
test: {
id: "REPLAY-1.1"
description: "Record/replay diff command trees test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/replay/tests/diff_command_trees/README.md"
exec: "feature/replay/tests/diff_command_trees/metadata.textproto"
}

Comment on lines +2073 to +2084
test: {
id: "gNMI-1.2"
description: "Benchmarking: Full Configuration Replace"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/tests/full_configuration_replace_test/README.md"
exec: "feature/gnmi/tests/full_configuration_replace_test/metadata.textproto"
}
test: {
id: "gNMI-1.3"
description: "Benchmarking: Drained Configuration Convergence Time"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/otg_tests/drained_configuration_convergence_time/README.md"
exec: "feature/gnmi/otg_tests/drained_configuration_convergence_time/metadata.textproto"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test IDs gNMI-1.2 and gNMI-1.3 do not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Test IDs should start with uppercase letters. Please correct these IDs and update the plan_id in the corresponding metadata.textproto files.

Suggested change
test: {
id: "gNMI-1.2"
description: "Benchmarking: Full Configuration Replace"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/tests/full_configuration_replace_test/README.md"
exec: "feature/gnmi/tests/full_configuration_replace_test/metadata.textproto"
}
test: {
id: "gNMI-1.3"
description: "Benchmarking: Drained Configuration Convergence Time"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/otg_tests/drained_configuration_convergence_time/README.md"
exec: "feature/gnmi/otg_tests/drained_configuration_convergence_time/metadata.textproto"
}
test: {
id: "GNMI-1.2"
description: "Benchmarking: Full Configuration Replace"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/tests/full_configuration_replace_test/README.md"
exec: "feature/gnmi/tests/full_configuration_replace_test/metadata.textproto"
}
test: {
id: "GNMI-1.3"
description: "Benchmarking: Drained Configuration Convergence Time"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/otg_tests/drained_configuration_convergence_time/README.md"
exec: "feature/gnmi/otg_tests/drained_configuration_convergence_time/metadata.textproto"
}

exec: " "
}
test: {
id: "gNMI-1.24"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test ID gNMI-1.24 does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Test IDs should start with uppercase letters. Please correct this ID and update the plan_id in feature/gnmi/tests/leaflist_update_test/metadata.textproto accordingly.

Suggested change
id: "gNMI-1.24"
id: "GNMI-1.24"

exec: " "
}
test: {
id: "gNOI-7.1"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test ID gNOI-7.1 does not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto. Test IDs should start with uppercase letters. Please correct this ID and update the plan_id in feature/gnoi/secure_boot/tests/bootconfig/metadata.textproto accordingly.

Suggested change
id: "gNOI-7.1"
id: "GNOI-7.1"

Comment on lines +2387 to +2421
id: "bootz"
description: "General bootz bootstrap tests"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/secure_boot/tests/bootz/README.md"
exec: "feature/system/secure_boot/tests/bootz/metadata.textproto"
}
test: {
id: "System-1.1"
description: "System banner test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/system_base_test/tests/system_banner_test/README.md"
exec: "feature/system/system_base_test/tests/system_banner_test/metadata.textproto"
}
test: {
id: "System-1.2"
description: "System g protocol test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/system_base_test/tests/system_g_protocol_test/README.md"
exec: "feature/system/system_base_test/tests/system_g_protocol_test/metadata.textproto"
}
test: {
id: "System-1.3"
description: "System hostname test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/system_base_test/tests/hostname_test/README.md"
exec: "feature/system/system_base_test/tests/hostname_test/metadata.textproto"
}
test: {
id: "System-1.4"
description: "System time test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/system_base_test/tests/system_time_test/README.md"
exec: "feature/system/system_base_test/tests/system_time_test/metadata.textproto"
}
test: {
id: "System-1.5"
description: "System software-version test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/system/system_base_test/tests/system_software_version/README.md"
exec: "feature/system/system_base_test/tests/system_software_version/metadata.textproto"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Several test IDs in this block do not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto:

  • bootz: Does not match the pattern.
  • System-1.1 through System-1.5: The prefix should be at least two uppercase letters.

Please correct these IDs to follow the specified format and update the plan_id in the corresponding metadata.textproto files.

Comment on lines +2542 to +2553
test: {
id: "gNMI-1.27"
description: "gNMI Sample Mode Test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/subscribe/tests/gnmi_sample_mode_test/README.md"
exec: "feature/gnmi/subscribe/tests/gnmi_sample_mode_test/metadata.textproto"
}
test: {
id: "GNMI-2"
description: "gnmi_subscriptionlist_test"
readme: "https://github.com/openconfig/featureprofiles/blob/main/feature/gnmi/subscribe/tests/gnmi_subscriptionlist_test/README.md"
exec: "feature/gnmi/subscribe/tests/gnmi_subscriptionlist_test/metadata.textproto"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The test IDs in this block do not conform to the required format [A-Z][A-Z]+\-[0-9]+(\.[0-9]+)? as specified in proto/testregistry.proto:

  • gNMI-1.27: Should start with uppercase letters (e.g., GNMI-1.27).
  • GNMI-2: Is missing a hyphen and number part (e.g., GNMI-2.0).

Please correct these IDs and update the plan_id in the corresponding metadata.textproto files.

@kapilrajput-g kapilrajput-g merged commit f25a886 into openconfig:main Mar 26, 2026
15 of 16 checks passed
kapilrajput-g added a commit that referenced this pull request Mar 26, 2026
kapilrajput-g added a commit that referenced this pull request Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants