Skip to content

Enhancement: Add Arista Goldfinch support to watchdog platform API tests #27548

Description

@norimeher-arista

Is it platform specific

generic

Importance or Severity

Medium

Description of the enhancement

The watchdog platform API tests currently lack platform-specific support for Arista Goldfinch. Add the appropriate timeout configuration for its supported 30–300 second range and ensure the watchdog is disarmed during test setup so each test starts from a known state.

https://github.com/sonic-net/sonic-buildimage/blob/cf515224f1fc7c85e66dd0f8f73ed3daef1359e0/platform/aspeed/aspeed-platform-services/scripts/hw-watchdog-mgrd.py#L77-L87

Current Behavior

The tests use timeout values that do not match Goldfinch’s supported range and fail because the watchdog is armed before test execution

Proposed Behavior

The tests should:

  • Disarm the Goldfinch watchdog during fixture setup.
  • Use 30 seconds as a valid timeout.
  • Use 60 seconds as a greater valid timeout.
  • Use 301 seconds as an unsupported timeout.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions