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

Fix test_ecmp_hash_seed_value failure on 202311 #13632

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

ZhaohuiS
Copy link
Contributor

@ZhaohuiS ZhaohuiS commented Jul 11, 2024

Description of PR

Summary:
Fixes # (issue)
After code change sonic-net/sonic-buildimage#18912 and #13538, test_ecmp_sai_value is not xfailed on 202311, but test_ecmp_hash_seed_value consistently failed on 202311, since the sai_hash_seed_config_hash_offset_enable is not set in config.bcm, it's set by swss config on 202311 and later image.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

  1. Fix test_ecmp_hash_seed_value failure on 202311
  2. fix one function mistake in case.
  3. remove internal and master from skip list, internal and master should support this case now

How did you do it?

Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?

run test_ecmp_sai_value against 202311.

Any platform specific information?

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

Documentation

ZhaohuiS added 4 commits July 11, 2024 09:30
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
Copy link
Contributor

@Gfrom2016 Gfrom2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit fcb9eb3 into sonic-net:master Jul 15, 2024
18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 15, 2024
What is the motivation for this PR?
Fix test_ecmp_hash_seed_value failure on 202311
fix one function mistake in case.
remove internal and master from skip list, internal and master should support this case now
How did you do it?
Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?
run test_ecmp_sai_value against 202311.
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 15, 2024
What is the motivation for this PR?
Fix test_ecmp_hash_seed_value failure on 202311
fix one function mistake in case.
remove internal and master from skip list, internal and master should support this case now
How did you do it?
Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?
run test_ecmp_sai_value against 202311.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #13665

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #13666

mssonicbld pushed a commit that referenced this pull request Jul 15, 2024
What is the motivation for this PR?
Fix test_ecmp_hash_seed_value failure on 202311
fix one function mistake in case.
remove internal and master from skip list, internal and master should support this case now
How did you do it?
Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?
run test_ecmp_sai_value against 202311.
mssonicbld pushed a commit that referenced this pull request Jul 16, 2024
What is the motivation for this PR?
Fix test_ecmp_hash_seed_value failure on 202311
fix one function mistake in case.
remove internal and master from skip list, internal and master should support this case now
How did you do it?
Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?
run test_ecmp_sai_value against 202311.
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
What is the motivation for this PR?
Fix test_ecmp_hash_seed_value failure on 202311
fix one function mistake in case.
remove internal and master from skip list, internal and master should support this case now
How did you do it?
Only check if sai_hash_seed_config_hash_offset_enable exists in config.bcm for 202305 branch, will skip this check for other branches.

How did you verify/test it?
run test_ecmp_sai_value against 202311.
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.

4 participants