Skip to content

Commit f3a6c3d

Browse files
committed
Merged PR 10549978: [BUILD] Use Ubuntu kernel to prevent ASAN issues
When running our unit tests on the address sanitizer build using the GLIBC_TUNABLES to disable use of AVX, we intermittently hit a bug where the console outputs AddressSanitizer:DEADLYSIGNAL in an infinite loop. This appears to be caused by an incompatibility between certain versions of GCC and certain Linux kernels. See e.g. this GitHub issue: actions/runner-images#9524 Currently the OneBranch build pipeline uses an Ubuntu container running on a Mariner kernel. Using an Ubuntu kernel instead should resolve the issue. Tested: pipeline builds
1 parent 198be4c commit f3a6c3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pipelines/OneBranch.PullRequest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ extends:
2727
parameters:
2828
featureFlags:
2929
needExceptionForUbuntuUsage: true # Mariner does not currently support all of our cross-compilation targets
30+
LinuxHostVersion:
31+
Distribution: Ubuntu # Mariner kernel is incompatible with Ubuntu container; causes infinite loop in ASAN https://github.com/actions/runner-images/issues/9524
3032
globalSdl: # https://aka.ms/obpipelines/sdl
3133
policheck:
3234
break: true # always break the build on policheck issues.

0 commit comments

Comments
 (0)