runtime: Test failure : System.Diagnostics.Tests.ProcessTests/LongProcessNamesAreSupported

Test System.Diagnostics.Tests.ProcessTests/LongProcessNamesAreSupported has failed.

Message :

System.FormatException : Input string was not in a correct format.

Stack Trace :

   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) in /_/src/System.Private.CoreLib/shared/System/Number.Parsing.cs:line 1931
   at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info) in /_/src/System.Private.CoreLib/shared/System/Number.Parsing.cs:line 216
   at System.Int32.Parse(String s) in /_/src/System.Private.CoreLib/shared/System/Int32.cs:line 107
   at System.PlatformDetection.ToVersion(String versionString) in /_/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs:line 165
   at System.PlatformDetection.GetDistroInfo() in /_/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs:line 169
   at System.PlatformDetection.IsDistroAndVersion(Predicate`1 distroPredicate, Int32 major, Int32 minor, Int32 build, Int32 revision) in /_/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs:line 208
   at System.PlatformDetection.IsDistroAndVersion(String distroId, Int32 major, Int32 minor, Int32 build, Int32 revision) in /_/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs:line 187
   at System.PlatformDetection.get_IsAlpine() in /_/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs:line 32
   at System.Diagnostics.Tests.ProcessTests.LongProcessNamesAreSupported() in /_/src/System.Diagnostics.Process/tests/ProcessTests.cs:line 1912

Build: -20190610.76(Master)

Failing configurations:

  • Debian.10.Amd64.Open-x64-Release

Details: https://mc.dot.net/#/user/dotnet-bot/pr~2Fdotnet~2Fcorefx~2Frefs~2Fheads~2Fmaster/test~2Ffunctional~2Fcli~2Finnerloop~2F/20190610.76/workItem/System.Diagnostics.Process.Tests/analysis/xunit/System.Diagnostics.Tests.ProcessTests~2FLongProcessNamesAreSupported

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (14 by maintainers)

Most upvoted comments

Since the cases that we know if with no version are when the distro is too new, I’d call it new Version(int.MaxValue, int.MaxValue); so that things like IsUbuntu1810OrHigher (or a mythical IsDebian9OrHigher) return true.