Skip to content

gNOI Cold Reboot - Integrated tests#20711

Closed
rkavitha-hcl wants to merge 3 commits intosonic-net:masterfrom
rkavitha-hcl:gnoi_cr_PR3
Closed

gNOI Cold Reboot - Integrated tests#20711
rkavitha-hcl wants to merge 3 commits intosonic-net:masterfrom
rkavitha-hcl:gnoi_cr_PR3

Conversation

@rkavitha-hcl
Copy link
Contributor

@rkavitha-hcl rkavitha-hcl commented Nov 6, 2024

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Added UT cases for Cold Reboot feature.
Added component tests for warm reboot.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@rkavitha-hcl rkavitha-hcl requested a review from lguohan as a code owner November 6, 2024 07:36
@rkavitha-hcl rkavitha-hcl force-pushed the gnoi_cr_PR3 branch 3 times, most recently from d4ba3f9 to ad91226 Compare November 18, 2024 09:46
@kishanps
Copy link
Contributor

@hdwhdw @vvolam @qiluo-msft Pls review

@rkavitha-hcl rkavitha-hcl force-pushed the gnoi_cr_PR3 branch 4 times, most recently from 8c4cb6c to efa4a2b Compare December 3, 2024 08:13
@rkavitha-hcl rkavitha-hcl force-pushed the gnoi_cr_PR3 branch 5 times, most recently from 663ac61 to 8d52b9b Compare December 4, 2024 14:30
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@bibhuprasad-hcl
Copy link
Contributor

@kishanps , could you pls review

1 similar comment
@bibhuprasad-hcl
Copy link
Contributor

@kishanps , could you pls review

@bibhuprasad-hcl
Copy link
Contributor

@vvolam , could you please review.

@bibhuprasad-hcl
Copy link
Contributor

@hdwhdw , could you please review

Copy link
Contributor

@hdwhdw hdwhdw left a comment

Choose a reason for hiding this comment

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

An honest question: has this changes be continuously run internally in Google? There are many hard timeout here in the test and I am curious whether they are generous enough to allow different performance in different environments, so we don't flake.

@hdwhdw hdwhdw self-requested a review February 25, 2025 22:08
Copy link
Contributor

@hdwhdw hdwhdw left a comment

Choose a reason for hiding this comment

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

Let's leave styling to future work.

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vvolam
Copy link
Contributor

vvolam commented Mar 11, 2025

@rkavitha-hcl could you please point me to the change in the code where we are waiting for HALT method, only for pmon container to be killed?

Also, could you modify the code such a way that if container is killed before timeout, can we return success?

Please don't force push the changes. Thank you!

@kishanps
Copy link
Contributor

@rkavitha-hcl could you please point me to the change in the code where we are waiting for HALT method, only for pmon container to be killed?

Also, could you modify the code such a way that if container is killed before timeout, can we return success?

The pmon container wait is in the sonic-host-services
cc: @rkavitha-hcl @jaanah-hcl

@vvolam
Copy link
Contributor

vvolam commented Mar 11, 2025

@rkavitha-hcl could you please point me to the change in the code where we are waiting for HALT method, only for pmon container to be killed?
Also, could you modify the code such a way that if container is killed before timeout, can we return success?

The pmon container wait is in the sonic-host-services cc: @rkavitha-hcl @jaanah-hcl

Thank you @kishanps

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.

6 participants