Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Ignore checking ASIC/module temperature if thermal updater is there #92

Closed
wants to merge 1 commit into from

Conversation

Junchao-Mellanox
Copy link
Owner

@Junchao-Mellanox Junchao-Mellanox commented Jan 2, 2024

Why I did it

thermal updater is a thread which will update ASIC/module thermal sysfs nodes periodically. Currently, there is no way to stop thermal updater. So, there is no easy way to mock thermal sysfs value if thermal updater is there (thermal updater will always override mocked values).

Work item tracking
  • Microsoft ADO (number only):

How I did it

Ignore ASIC/module thermal mock test if thermal updater is present

How to verify it

Manual test
sonic-mgmt regression test

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

… is there

Change-Id: I13ecc12308c546a23d845fb1f81d2f43b3d2fb15
@Junchao-Mellanox Junchao-Mellanox changed the title [Mellanox] Ignore checking ASIC/module temperature if thermal updater is there Change-Id: I13ecc12308c546a23d845fb1f81d2f43b3d2fb15 [Mellanox] Ignore checking ASIC/module temperature if thermal updater is there Jan 2, 2024
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.

2 participants