Skip to content

Fix pipeline errors related to rsyslogd and libswsscommon installation #1514

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

Merged
merged 6 commits into from
Jan 29, 2025

Conversation

saiarcot895
Copy link
Contributor

@saiarcot895 saiarcot895 commented Jan 28, 2025

On arm64 (and maybe sometimes amd64), rsyslogd appears to need a second or two to actually fully exit. The current code expects it to exit practically instantly. Add a sleep of 2 seconds to give it some time. Also enable some logging so that the commands being run can be seen.

Also, fix an error related to libswsscommon not getting installed due to new dependencies being added. Solve this by using apt install to install the package, which brings in any necessary dependencies.

Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Rsyslogd might need a second or two to exit.

Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@saiarcot895 saiarcot895 changed the title Test rsyslogd not getting killed Fix pipeline errores related to rsyslogd and libswsscommon installation Jan 28, 2025
@saiarcot895 saiarcot895 changed the title Fix pipeline errores related to rsyslogd and libswsscommon installation Fix pipeline errors related to rsyslogd and libswsscommon installation Jan 28, 2025
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Saikrishna Arcot <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@r12f
Copy link
Contributor

r12f commented Jan 29, 2025

build passed! this looks working!

the test is failing due to another infra issue causing by dependency, not sure if we should use another PR to fix that issue and get this one merged first.

image

Copy link
Contributor

@r12f r12f left a comment

Choose a reason for hiding this comment

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

either way, I am signing off this one first.

@saiarcot895 saiarcot895 marked this pull request as ready for review January 29, 2025 16:03
@saiarcot895
Copy link
Contributor Author

@kcudnik Are you able to force-merge this PR? This fixes the rsyslogd issues in the PR checkers and fixes a libswsscommon installation failure.

@abdosi abdosi merged commit d3b2503 into sonic-net:master Jan 29, 2025
15 checks passed
@stephenxs
Copy link
Contributor

@saiarcot895 @r12f could you help to cherry-pick this PR to 202411? I see a similar issue in that branch

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #1535

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