Skip to content

[Mellanox] Skip asic mock in test_device_checker for mellanox device#12895

Merged
bingwang-ms merged 1 commit intosonic-net:masterfrom
JibinBao:fix_device_checker
Jun 4, 2024
Merged

[Mellanox] Skip asic mock in test_device_checker for mellanox device#12895
bingwang-ms merged 1 commit intosonic-net:masterfrom
JibinBao:fix_device_checker

Conversation

@JibinBao
Copy link
Contributor

Description of PR

For mellanox device, skip asic mock, because the asic soft link has been moved to sdk sysfs, and there is no way to mock asic.

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

Skip asic mock on mellanox device

How did you do it?

Skip asic mock when device is mellanox

How did you verify/test it?

Run test on mellanox device

Any platform specific information?

Mellanox

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

Any

Documentation

…8455

For mellanox device, skip asic mock, because the asic soft link has been moved to sdk sysfs

Change-Id: I2839c6289dfb1a010cc02a00dfd4409d9a5233be
@JibinBao JibinBao requested a review from prgeor as a code owner May 20, 2024 03:28
@volodymyrsamotiy
Copy link
Contributor

@JibinBao, could you please check if it is related to this PR #12798?

@JibinBao
Copy link
Contributor Author

@JibinBao, could you please check if it is related to this PR #12798?

Yes. After the PR is merged, I will revert #12798

@bingwang-ms
Copy link
Collaborator

LGTM. Thanks for the fix.

@JibinBao
Copy link
Contributor Author

JibinBao commented Jun 5, 2024

Hi @bingwang-ms,
I have revert the #12798.
Please help review PR: #13136

mrkcmo pushed a commit to Azarack/sonic-mgmt that referenced this pull request Jul 17, 2024
…8455 (sonic-net#12895)

For mellanox device, skip asic mock, because the asic soft link has been moved to sdk sysfs

Change-Id: I2839c6289dfb1a010cc02a00dfd4409d9a5233be
@mssonicbld
Copy link
Collaborator

@JibinBao PR conflicts with 202311 branch

@bingwang-ms
Copy link
Collaborator

@JibinBao Please address the conflict for 202311. Do we need this fix for 202405 as well?

@JibinBao
Copy link
Contributor Author

@JibinBao Please address the conflict for 202311. Do we need this fix for 202405 as well?

202405 also need it.
I will submit a PR for 202311

JibinBao added a commit to JibinBao/sonic-mgmt that referenced this pull request Jul 23, 2024
…8455 (sonic-net#12895)

For mellanox device, skip asic mock, because the asic soft link has been moved to sdk sysfs

Change-Id: I2839c6289dfb1a010cc02a00dfd4409d9a5233be
@JibinBao
Copy link
Contributor Author

@bingwang-ms
Cherry-pick to 202311. Please review : #13760

bingwang-ms pushed a commit that referenced this pull request Jul 23, 2024
…8455 (#12895) (#13760)

For mellanox device, skip asic mock, because the asic soft link has been moved to sdk sysfs
@bingwang-ms
Copy link
Collaborator

@JibinBao Please double check if the change is also required on 202405 branch.

@JibinBao
Copy link
Contributor Author

@JibinBao Please double check if the change is also required on 202405 branch.
@bingwang-ms
Yes.202405 also need it? Can you help cherrry-pick to 202405 too?

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.

5 participants