Skip to content

[action] [PR:19899] Fix saithrift URL generation for Mellanox on internal-202411 branch#19930

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/19899
Jul 30, 2025
Merged

[action] [PR:19899] Fix saithrift URL generation for Mellanox on internal-202411 branch#19930
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/19899

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

The saithrift package download fails for Mellanox platforms on internal-202411 branch because the code was hardcoding bullseye as the Debian codename for all ASIC types, but Mellanox requires the actual Debian codename from the syncd container.

How did you do it?

Modified the condition to only use hardcoded bullseye for non-Mellanox platforms on internal-202411
For Mellanox on internal-202411, the code now retrieves the actual Debian codename via docker command
This ensures the correct saithrift package URL is constructed for each platform type

How did you verify/test it?

local test

Any platform specific information?

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

Documentation

…onic-net#19899

What is the motivation for this PR?
The saithrift package download fails for Mellanox platforms on internal-202411 branch because the code was hardcoding bullseye as the Debian codename for all ASIC types, but Mellanox requires the actual Debian codename from the syncd container.

How did you do it?
Modified the condition to only use hardcoded bullseye for non-Mellanox platforms on internal-202411
For Mellanox on internal-202411, the code now retrieves the actual Debian codename via docker command
This ensures the correct saithrift package URL is constructed for each platform type

How did you verify/test it?
local test
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #19899

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit f986cfa into sonic-net:202411 Jul 30, 2025
14 checks passed
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.

2 participants