Skip to content

test psu power skip 202205 release for arista#6814

Closed
wenyiz2021 wants to merge 1 commit intosonic-net:masterfrom
wenyiz2021:skip_psu_power_arista
Closed

test psu power skip 202205 release for arista#6814
wenyiz2021 wants to merge 1 commit intosonic-net:masterfrom
wenyiz2021:skip_psu_power_arista

Conversation

@wenyiz2021
Copy link
Contributor

Description of PR

Arista hasn't supported psu power

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@wenyiz2021 wenyiz2021 requested a review from arlakshm November 11, 2022 22:32
@wenyiz2021 wenyiz2021 marked this pull request as ready for review November 11, 2022 22:33
@azure-pipelines
Copy link

The pre-commit check detected issues in the files touched by this pull request.
The detected issues may be old or new. For new issues, please try to fix them.

For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame
author of this pull request. But if you can take extra effort to fix the old issues as well, that would be great!

Detailed pre-commit check results:
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...........................................(no files to check)Skipped
check for added large files..............................................Passed
check python ast.........................................................Passed
flake8...................................................................Failed
- hook id: flake8
- exit code: 1

tests/platform_tests/api/test_psu.py:2:1: F401 're' imported but unused
tests/platform_tests/api/test_psu.py:4:1: F401 'yaml' imported but unused
tests/platform_tests/api/test_psu.py:20:19: F821 undefined name 'basestring'
tests/platform_tests/api/test_psu.py:49:13: E722 do not use bare 'except'
tests/platform_tests/api/test_psu.py:66:23: E128 continuation line under-indented for visual indent
tests/platform_tests/api/test_psu.py:68:23: E128 continuation line under-indented for visual indent
tests/platform_tests/api/test_psu.py:68:121: E501 line too long (128 > 120 characters)
tests/platform_tests/api/test_psu.py:98:38: E231 missing whitespace after ','
tests/platform_tests/api/test_psu.py:121:38: E231 missing whitespace after ','
tests/platform_tests/api/test_psu.py:130:38: E231 missing whitespace after ','
tests/platform_tests/api/test_psu.py:141:38: E231 missing whitespace after ','
...
[truncated extra lines, please run pre-commit locally to view full check results]

To run the pre-commit checks locally, you can follow below steps:

  1. Ensure that default python is python3. In sonic-mgmt docker container, default python is python2. You can run
    the check by activating the python3 virtual environment in sonic-mgmt docker container or outside of sonic-mgmt
    docker container.
  2. Ensure that the pre-commit package is installed:
sudo pip install pre-commit
  1. Go to repository root folder
  2. Install the pre-commit hooks:
pre-commit install
  1. Use pre-commit to check staged file:
pre-commit
  1. Alternatively, you can check committed files using:
pre-commit run --from-ref <commit_id> --to-ref <commit_id>

@wenyiz2021
Copy link
Contributor Author

close this as Arista is working on supporting it

@wenyiz2021 wenyiz2021 closed this Nov 14, 2022
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