Skip to content

Revert creds access method for advance_reboot and wr_arp testcase#1945

Closed
vaibhavhd wants to merge 1 commit intosonic-net:masterfrom
vaibhavhd:creds-fix-revert
Closed

Revert creds access method for advance_reboot and wr_arp testcase#1945
vaibhavhd wants to merge 1 commit intosonic-net:masterfrom
vaibhavhd:creds-fix-revert

Conversation

@vaibhavhd
Copy link
Contributor

@vaibhavhd vaibhavhd commented Jul 22, 2020

Description of PR

Summary: Regression post #1885
Fix advanced_reboot script error during starting remote command on ptf.
Fixes # (issue)
Advanced_reboot fails to start a remote command on the ptf host.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

The creds fixture incorrectly fetches sonicadmin_user and sonicadmin_password as:
"{{ secret_group_vars['"'"'str'"'"']['"'"'sonicadmin_user'"'"'] }}"
"{{ secret_group_vars['"'"'str'"'"']['"'"'sonicadmin_password'"'"'] }}"

The reason for this error is creds fixture pulls the information from the yml files and above dicts are not rendered.

How did you do it?

Reverted the change added by #1885

More work to be soon added for ptf_runner warning and error handling.

How did you verify/test it?

Tested warm_reboot testcase and the IO thread on the PTF starts successfully.

@vaibhavhd vaibhavhd requested a review from a team July 22, 2020 00:24
@vaibhavhd vaibhavhd closed this Jul 22, 2020
@vaibhavhd vaibhavhd deleted the creds-fix-revert branch September 25, 2020 16:20
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Update submodule sonic-utilities that contains the following commits:

Revert "[202012] [generate_dump] allow to extend dump with plugin scripts (sonic-net#1945)" (sonic-net#1993)
[soft-reboot] Add support for platforms based on Device Tree (sonic-net#1963)
[Reclaiming buffer][202012] Database migrator for reclaiming buffer (sonic-net#1898)
[202012] [generate_dump] allow to extend dump with plugin scripts (sonic-net#1945)

Signed-off-by: dprital <drorp@nvidia.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
[202106 6e895ad] Revert "[buffer orch] Bugfix: Don't query counter SAI_BUFFER_POOL_STAT_XOFF_ROOM_WATERMARK_BYTES on a pool where it is not supported (sonic-net#1857)" (sonic-net#1945)
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.

1 participant