-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Build]: fix libc-bin core dump issue #9444
Conversation
/azp run Azure.docker-slave-bullseye-arm64 |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.docker-slave-bullseye |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.docker-slave-buster-armhf |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.docker-slave-buster-arm64 |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure.docker-slave-bullseye-armhf |
Azure Pipelines successfully started running 1 pipeline(s). |
Yes, looks like not stable, another one is good: https://dev.azure.com/mssonic/build/_build/results?buildId=56679&view=logs&j=715ada69-f859-5f7e-8bcf-2a94c492da59&t=883c835f-394d-5b66-f09e-4bca8e91e07f |
The good one was running on respberry PI, may be a little different from the one running on the amd64 server. |
Trying to use another way, keep the libc-bin not upgraded. |
@lguohan , works fine now, could you please help review again? |
I think the issue is that the wrong qemu version might be getting used for building the slave image. I have changes to fix that in #9274 to ensure that the qemu interpreters get registered. The current code has an issue where if the multiarch container is already downloaded, then the qemu interpreters aren't registered, which means whatever default qemu versions are being used will get used, which isn't good enough for arm64. See this pipeline which builds the arm64 slave container. |
@saiarcot895 , thanks for fixing the issue in #9274 , my pr can be closed.
|
That line and the call being added here:
That change causes the qemu interpreters to get always registered, instead of tying it to whether or not the |
Why I did it
Fix the docker-slave-bullseye build break issue caused by installing libc-bin core dumpd
See https://dev.azure.com/mssonic/build/_build/results?buildId=55683&view=logs&j=715ada69-f859-5f7e-8bcf-2a94c492da59&t=883c835f-394d-5b66-f09e-4bca8e91e07f
Similar issue: microsoft/WSL#4760
How I did it
A workaround to install libc-bin:
Need to add a step to upgrade the libc-bin, before applying the workaround, installing libc-bin twice.
Another workaround is not to upgrade the libc-bin, using the old version.
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)