Skip to content

Component Test For Interface Model - CPU - #737

Draft
ksravani-hcl wants to merge 1 commit into
sonic-net:masterfrom
ksravani-hcl:componenttest_intfmodel_cpu
Draft

ksravani-hcl wants to merge 1 commit into
sonic-net:masterfrom
ksravani-hcl:componenttest_intfmodel_cpu

Conversation

@ksravani-hcl

@ksravani-hcl ksravani-hcl commented Aug 6, 2026 •

Copy link
Copy Markdown

This PR is created to add a component test cases for Interface Model - CPU

Base PR - sonic-net/sonic-mgmt-common#231

Result:

=== RUN TestGnmiGetOpenconfigInterfacesAttributes
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(UP)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(DOWN)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(UNKNOWN)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_on_CPU_interface_(Always_UP)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_State_Description
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Ethernet_MAC_Address_(Explicit_Value)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Ethernet_MAC_Address_(Fallback_to_DEVICE_METADATA)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_CPU_Leaf_for_CPU_interface
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Management_Leaf_for_CPU_interface
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_State_Ifindex
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Subinterface_IPv4_State_Counters_(PortChannel_Aggregate)
=== RUN TestGnmiGetOpenconfigInterfacesAttributes/Get_Subinterface_IPv6_State_Counters_(PortChannel_Aggregate)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes (1.54s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(UP) (0.04s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(DOWN) (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_(UNKNOWN) (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Oper_Status_on_CPU_interface_(Always_UP) (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_State_Description (0.02s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Ethernet_MAC_Address_(Explicit_Value) (0.02s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Ethernet_MAC_Address_(Fallback_to_DEVICE_METADATA) (0.02s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_CPU_Leaf_for_CPU_interface (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Management_Leaf_for_CPU_interface (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_State_Ifindex (0.01s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Subinterface_IPv4_State_Counters_(PortChannel_Aggregate) (0.02s)
--- PASS: TestGnmiGetOpenconfigInterfacesAttributes/Get_Subinterface_IPv6_State_Counters_(PortChannel_Aggregate) (0.02s)
PASS

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks!

---Powered by SONiC BuildBot

@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from e6232cd to acd8504 Compare August 10, 2026 10:56
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from acd8504 to f5022e8 Compare August 10, 2026 10:59
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@niranjanivivek

Copy link
Copy Markdown
Contributor

@ndas7 @rlucus Kindly review the PR.

@niranjanivivek

Copy link
Copy Markdown
Contributor

@ndas7 @rlucus Please review and approve

@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from ba145b1 to 6e1a12e Compare August 21, 2026 14:40
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from 6e1a12e to f17636f Compare September 9, 2026 12:07
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from f17636f to 0cc5cb0 Compare September 22, 2026 16:45
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from 0cc5cb0 to 98402b6 Compare September 23, 2026 15:08
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Comment thread gnmi_server/server_test.go Outdated
@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from 98402b6 to 538db5b Compare September 23, 2026 16:14
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
Comment thread gnmi_server/server_test.go Outdated
@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from 538db5b to d2bf0d1 Compare September 23, 2026 17:49
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ksravani-hcl
ksravani-hcl requested a review from ndas7 September 23, 2026 17:53
@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from d2bf0d1 to b8ab4b9 Compare September 24, 2026 06:20
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Signed-off-by: SRAVANI KANASANI <ksravani-hcl>
@ksravani-hcl
ksravani-hcl force-pushed the componenttest_intfmodel_cpu branch from b8ab4b9 to 9617a6d Compare September 24, 2026 11:57
@mssonicbld

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

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