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

[MASIC] disable thermalctld when running test_fan_drawer_fans.py #5529

Merged
merged 9 commits into from
Apr 22, 2022
Merged

[MASIC] disable thermalctld when running test_fan_drawer_fans.py #5529

merged 9 commits into from
Apr 22, 2022

Conversation

wenyiz2021
Copy link
Contributor

Description of PR

When thermatlctld is on and tries to control/adjust fan speed/LEDs continuously, fan related tests will be impacted and may hit the restriction set from thermal_policy.json, and cause dut unreachable.
Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

./run_tests.sh -i '../ansible/str,../ansible/veos' -n {multi-asic} -u -e "--disable_loganalyzer --skip_sanity" -c platform_tests/api/test_fan_drawer_fans.py

platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_name[str-n3164-acs-2] PASSED [ 7%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_presence[str-n3164-acs-2] PASSED [ 15%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_model[str-n3164-acs-2] PASSED [ 23%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_serial[str-n3164-acs-2] PASSED [ 30%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_status[str-n3164-acs-2] PASSED [ 38%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_position_in_parent[str-n3164-acs-2] PASSED [ 46%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_is_replaceable[str-n3164-acs-2] PASSED [ 53%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_speed[str-n3164-acs-2] PASSED [ 61%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_direction[str-n3164-acs-2] PASSED [ 69%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_fans_target_speed[str-n3164-acs-2] PASSED [ 76%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_get_fans_speed_tolerance[str-n3164-acs-2] PASSED [ 84%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_set_fans_speed[str-n3164-acs-2] PASSED [ 92%]
platform_tests/api/test_fan_drawer_fans.py::TestFanDrawerFans::test_set_fans_led[str-n3164-acs-2] PASSED [100%]

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@wenyiz2021
Copy link
Contributor Author

Checks are failing at known macsec issue which was fixed by sonic-net/sonic-buildimage#10618.
Rerun checks

@wenyiz2021 wenyiz2021 merged commit 35f25e1 into sonic-net:master Apr 22, 2022
wenyiz2021 added a commit that referenced this pull request Apr 22, 2022
* Update test_po_cleanup.py

Update same changes in master branch from PR: (#5453)

* Update test_fan_drawer_fans.py

* Update test_fan_drawer_fans.py

* Update test_fan_drawer_fans.py

Disable thermalctld when running test_fan_drawer_fans.py

(cherry picked from commit 35f25e1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants