Skip to content

Conversation

@ManickaP
Copy link
Member

@ManickaP ManickaP commented Jan 6, 2026

Install GCC and load asan from the new place.

Copilot AI review requested due to automatic review settings January 6, 2026 16:53
@ManickaP

This comment was marked as off-topic.

@azure-pipelines

This comment was marked as off-topic.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to fix ASAN (Address Sanitizer) preload issues in the HTTP stress test Docker container by ensuring GCC is explicitly installed and updating the ASAN library path.

Key Changes:

  • Explicitly adds gcc to the apt-get install command to ensure GCC is available in the container
  • Updates the LD_PRELOAD path from GCC version 13 to version 15

@ManickaP
Copy link
Member Author

ManickaP commented Jan 6, 2026

/azp run runtime-libraries stress-http

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ManickaP
Copy link
Member Author

ManickaP commented Jan 6, 2026

It helped, see log from main:

2026-01-06T13:49:28.1448349Z Attaching to httpstress_server_1, httpstress_client_1
2026-01-06T13:49:28.1449851Z server_1  | ERROR: ld.so: object '/usr/lib/gcc/x86_64-linux-gnu/13/libasan.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2026-01-06T13:49:28.1474683Z server_1  | ERROR: ld.so: object '/usr/lib/gcc/x86_64-linux-gnu/13/libasan.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2026-01-06T13:49:28.1475807Z server_1  | ERROR: ld.so: object '/usr/lib/gcc/x86_64-linux-gnu/13/libasan.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2026-01-06T13:49:28.1477116Z server_1  | ERROR: ld.so: object '/usr/lib/gcc/x86_64-linux-gnu/13/libasan.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2026-01-06T13:49:28.1478644Z server_1  |        .NET Core: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.NETCore.App/11.0.0/System.Private.CoreLib.dll, modified 01/06/2026 13:26:27
2026-01-06T13:49:28.1480077Z server_1  |     ASP.NET Core: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.AspNetCore.App/11.0.0-alpha.1.26055.114/Microsoft.AspNetCore.dll, modified 01/06/2026 13:40:04
2026-01-06T13:49:28.1490671Z server_1  |  System.Net.Http: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.NETCore.App/11.0.0/System.Net.Http.dll, modified 01/06/2026 13:33:51
...

vs log from this PR:

2026-01-06T17:45:29.5302069Z Attaching to httpstress_server_1, httpstress_client_1
2026-01-06T17:45:29.5303889Z server_1  |        .NET Core: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.NETCore.App/11.0.0/System.Private.CoreLib.dll, modified 01/06/2026 17:24:57
2026-01-06T17:45:29.5360057Z server_1  |     ASP.NET Core: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.AspNetCore.App/11.0.0-alpha.1.26055.114/Microsoft.AspNetCore.dll, modified 01/06/2026 17:38:00
2026-01-06T17:45:29.5364740Z server_1  |  System.Net.Http: /live-runtime-artifacts/testhost/net11.0-linux-Release-x64/shared/Microsoft.NETCore.App/11.0.0/System.Net.Http.dll, modified 01/06/2026 17:31:57
...

When merged, I'll backport it to 10.0.

…kerfile

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ManickaP
Copy link
Member Author

ManickaP commented Jan 6, 2026

/azp run runtime-libraries stress-http

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ManickaP ManickaP enabled auto-merge (squash) January 6, 2026 20:10
@ManickaP
Copy link
Member Author

ManickaP commented Jan 7, 2026

/ba-g unrelated

@ManickaP ManickaP merged commit 15663b5 into main Jan 7, 2026
79 of 88 checks passed
@ManickaP ManickaP deleted the fix-asan branch January 7, 2026 07:47
@ManickaP
Copy link
Member Author

ManickaP commented Jan 7, 2026

/backport to release/10.0

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

Started backporting to release/10.0 (link to workflow run)

jeffhandley pushed a commit that referenced this pull request Jan 8, 2026
Backport of #122926 to release/10.0

/cc @ManickaP

## Customer Impact

- [ ] Customer reported
- [x] Found internally


## Regression

- [ ] Yes
- [x] No

## Testing

CI

## Risk

Low, test only change.

---------

Co-authored-by: ManickaP <mapichov@microsoft.com>
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

3 participants