[main] Update dependencies from dotnet/runtime (#2498)
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Wed, 11 Aug 2021 22:16:23 +0000 (15:16 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 22:16:23 +0000 (15:16 -0700)
* Update dependencies from https://github.com/dotnet/runtime build 20210811.2

Microsoft.NETCore.App.Runtime.win-x64 , VS.Redist.Common.NetCore.SharedFramework.x64.6.0
 From Version 6.0.0-rc.1.21406.5 -> To Version 6.0.0-rc.1.21411.2

* Fix SOS test failures with new runtime

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Mike McLaughlin <mikem@microsoft.com>
eng/Version.Details.xml
eng/Versions.props
src/SOS/SOS.UnitTests/SOSRunner.cs
src/SOS/SOS.UnitTests/Scripts/OtherCommands.script
src/SOS/SOS.UnitTests/Scripts/StackAndOtherTests.script

index d392fdd607ba012a26d39db1b0e6ce42b67a59c4..fbf61fe43d56b4a196b086bb678fcef88b2ccfd6 100644 (file)
       <Uri>https://github.com/dotnet/aspnetcore</Uri>
       <Sha>a671f9652808921d6bbe74994c16065372bec6f6</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="6.0.0-rc.1.21406.5">
+    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="6.0.0-rc.1.21411.2">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>58efa4b79751a2dad08d9bf7ca67930f8160afe3</Sha>
+      <Sha>c0662e8129beaf93b8050d39a863cc6d16a0308c</Sha>
     </Dependency>
-    <Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.6.0" Version="6.0.0-rc.1.21406.5">
+    <Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.6.0" Version="6.0.0-rc.1.21411.2">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>58efa4b79751a2dad08d9bf7ca67930f8160afe3</Sha>
+      <Sha>c0662e8129beaf93b8050d39a863cc6d16a0308c</Sha>
     </Dependency>
   </ToolsetDependencies>
 </Dependencies>
index d93bf0dcb1ce11e93b1967a6d0657ad5c8144623..ffe10ab629bbf716bd5d0e5ad5cdc3eaf0313d84 100644 (file)
@@ -17,8 +17,8 @@
     <MicrosoftNETCoreApp50Version>5.0.6</MicrosoftNETCoreApp50Version>
     <MicrosoftAspNetCoreApp50Version>$(MicrosoftNETCoreApp50Version)</MicrosoftAspNetCoreApp50Version>
     <!-- Latest shared runtime version updated by darc -->
-    <VSRedistCommonNetCoreSharedFrameworkx6460Version>6.0.0-rc.1.21406.5</VSRedistCommonNetCoreSharedFrameworkx6460Version>
-    <MicrosoftNETCoreAppRuntimewinx64Version>6.0.0-rc.1.21406.5</MicrosoftNETCoreAppRuntimewinx64Version>
+    <VSRedistCommonNetCoreSharedFrameworkx6460Version>6.0.0-rc.1.21411.2</VSRedistCommonNetCoreSharedFrameworkx6460Version>
+    <MicrosoftNETCoreAppRuntimewinx64Version>6.0.0-rc.1.21411.2</MicrosoftNETCoreAppRuntimewinx64Version>
     <!-- Latest shared aspnetcore version updated by darc -->
     <MicrosoftAspNetCoreAppRefInternalVersion>6.0.0-rc.1.21410.16</MicrosoftAspNetCoreAppRefInternalVersion>
     <MicrosoftAspNetCoreAppRefVersion>6.0.0-rc.1.21410.16</MicrosoftAspNetCoreAppRefVersion>
index 4ba404e1965904beee9ae15a4888dad72d6d4f75..b953cdad8a2b8d60ce47b6ef2a4aa19420e4e921 100644 (file)
@@ -1192,6 +1192,14 @@ public class SOSRunner : IDisposable
             {
                 defines.Add("MAJOR_RUNTIME_VERSION_GE_5");
             }
+            if (major >= 6)
+            {
+                defines.Add("MAJOR_RUNTIME_VERSION_GE_6");
+            }
+            if (major >= 7)
+            {
+                defines.Add("MAJOR_RUNTIME_VERSION_GE_7");
+            }
         }
         catch (SkipTestException)
         {
index 91fe0db65cbbc01325afcb066041cb3d636bc6ca..954d2e7d5b5ff6be0aefb1297ed120c641b77fc7 100644 (file)
@@ -35,11 +35,13 @@ ENDIF:DESKTOP
 SOSCOMMAND:bpmd SymbolTestApp.dll SymbolTestApp.Program.Foo4
 ENDIF:DESKTOP
 
-IFDEF:PROJECTK
+!IFDEF:MAJOR_RUNTIME_VERSION_GE_6
+!IFDEF:DESKTOP
 CONTINUE
 SOSCOMMAND:ClrStack
 VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+SymbolTestApp\.Program\.Main\(.*\)\s+\[(?i:.*[\\|/]SymbolTestApp\.cs) @ 16\]\s*
-ENDIF:PROJECTK
+ENDIF:DESKTOP
+ENDIF:MAJOR_RUNTIME_VERSION_GE_6
 
 CONTINUE
 SOSCOMMAND:ClrStack
index c321762c8f54f08b7bb5ad423579c2cfb0be3023..bc551422cedec93b016546c2763dde1cae575df2 100644 (file)
@@ -36,11 +36,13 @@ ENDIF:DESKTOP
 SOSCOMMAND:bpmd SymbolTestApp.dll SymbolTestApp.Program.Foo4
 ENDIF:DESKTOP
 
+!IFDEF:MAJOR_RUNTIME_VERSION_GE_6
 !IFDEF:DESKTOP
 CONTINUE
 SOSCOMMAND:ClrStack
 VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+SymbolTestApp\.Program\.Main\(.*\)\s+\[(?i:.*[\\|/]SymbolTestApp\.cs) @ 16\]\s*
 ENDIF:DESKTOP
+ENDIF:MAJOR_RUNTIME_VERSION_GE_6
 
 CONTINUE
 SOSCOMMAND:ClrStack