Skip to content

[action] [PR:19528] support dynamic saithrift URL generation#19826

Open
mssonicbld wants to merge 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/19528
Open

[action] [PR:19528] support dynamic saithrift URL generation#19826
mssonicbld wants to merge 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/19528

Conversation

@mssonicbld
Copy link
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?

When the Debian codename changes, the saithrift package URL must be updated accordingly outside the test code. Otherwise, the package download may silently fail, leading to QoS SAI test failures.

This change dynamically generates the correct saithrift package URL based on the current Debian codename and explicitly reports test failure if the download fails.

How did you do it?

This change dynamically generates the correct saithrift package URL based on the current Debian codename and explicitly reports test failure if the download fails.

How did you verify/test it?

passed local tests

Any platform specific information?

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

Documentation

What is the motivation for this PR?
When the Debian codename changes, the saithrift package URL must be updated accordingly outside the test code. Otherwise, the package download may silently fail, leading to QoS SAI test failures.

This change dynamically generates the correct saithrift package URL based on the current Debian codename and explicitly reports test failure if the download fails.

How did you do it?
This change dynamically generates the correct saithrift package URL based on the current Debian codename and explicitly reports test failure if the download fails.

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

Original PR: #19528

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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