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

[Mellanox] Resolve New Line Formatting Issues in syncd's sai.profile #1412

Conversation

tshalvi
Copy link
Contributor

@tshalvi tshalvi commented Aug 12, 2024

On Mellanox platforms, the /tmp/sai.profile file inside syncd might end up with invalid formatting after running the script modified by this PR, such as missing new lines after concatenation or redundant new lines. This PR aims to fix that.

@tshalvi
Copy link
Contributor Author

tshalvi commented Aug 12, 2024

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tshalvi
Copy link
Contributor Author

tshalvi commented Aug 13, 2024

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prgeor prgeor requested a review from prsunny August 27, 2024 18:23
@liat-grozovik
Copy link
Collaborator

@kcudnik could you please help to review and merge?

@liat-grozovik
Copy link
Collaborator

@kcudnik @saiarcot895 can you please help to merge?
then we need it on 202405 @bingwang-ms to follow up

@kcudnik kcudnik merged commit 24843d4 into sonic-net:master Oct 2, 2024
17 checks passed
@yanmo96
Copy link

yanmo96 commented Oct 15, 2024

Thanks, the echo >> /tmp/sai-temp.profile fix when the file is missing a line feed at the end issue

bingwang-ms pushed a commit to bingwang-ms/sonic-sairedis that referenced this pull request Oct 15, 2024
…onic-net#1412)

On Mellanox platforms, the /tmp/sai.profile file inside syncd might end up with invalid formatting after running the script modified by this PR, such as missing new lines after concatenation or redundant new lines. This PR aims to fix that.
@bingwang-ms
Copy link
Contributor

Do a manual cherry-pick as the automation is not working #1433
@dprital Can you check if the PR is required for 202311 branch? I didn't see issue in 202311.
@yxieca FYI

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.

9 participants