[test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656)
authorMitchell Hwang <16830051+mdh1418@users.noreply.github.com>
Thu, 9 May 2024 20:07:09 +0000 (13:07 -0700)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 20:07:09 +0000 (13:07 -0700)
It was discovered in https://github.com/dotnet/diagnostics/pull/4616
that SOS.OtherCommands DumpMT Verification fails on Alpine Release
builds for PRs starting Friday 4/26.
As PRs cannot be merged until all checks are passing, this test failure
is blocking.

This PR disables the test for Alpine, with
https://github.com/dotnet/diagnostics/issues/4654 as the tracking issue

src/SOS/SOS.UnitTests/Scripts/OtherCommands.script

index b3473d5b366ec2799b67e20dfd6a73aff8fa3d07..17ba7acf2a709739feb2a82ec96f643cde7f2007 100644 (file)
@@ -108,10 +108,13 @@ SOSCOMMAND:DumpClass <POUT>\s*Class:\s+(<HEXVAL>)\s+<POUT>
 VERIFY:\s*Class Name:\s+SymbolTestApp.Program\s+
 VERIFY:\s*File:\s+.*SymbolTestApp\.(dll|exe)\s+
 
+# Issue: https://github.com/dotnet/diagnostics/issues/4654
+!IFDEF:ALPINE
 # Verify DumpMT
 SOSCOMMAND:DumpMT <POUT>\s*Method Table:\s+(<HEXVAL>)\s+<POUT>
 VERIFY:\s*Name:\s+SymbolTestApp.Program\s+
 VERIFY:\s*File:\s+.*SymbolTestApp\.(dll|exe)\s+
+ENDIF:ALPINE
 
 SOSCOMMAND:FinalizeQueue
 VERIFY:\s*SyncBlocks to be cleaned up:\s+<DECVAL>\s+