Skip to content

CoreFX tests sometimes time out during PR validation builds #1487

Closed

Activity

  1. added
    area-testing
    on Feb 18, 2020
  2. adaggarwal commented on Feb 18, 2020

    @adaggarwal
    Member

    I have also observed the same in CI. However, I don't see that whenever I try it locally.

  3. self-assigned this
    on Feb 28, 2020
  4. adaggarwal commented on Mar 9, 2020

    @adaggarwal
    Member

    I saw this in one of the timeout cases

    Resolving SDK 'Microsoft.NET.Sdk.IL'...
    
    [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.Sdk.IL. Detected config(s) in env:
    'ARCADE_CONFIGURATION' for 'Microsoft.DotNet.Build.Tasks.Configuration/1.0.0-beta.20113.5' at '/src/Tools/source-built/Microsoft.DotNet.Build.Tasks.Configuration/'
    'IL' for 'Microsoft.NET.Sdk.IL/1.0.0-source-built' at '/src/Tools/source-built/Microsoft.NET.Sdk.IL/'
    'ARCADE_COREFX_TESTING' for 'Microsoft.DotNet.CoreFxTesting/1.0.0-beta.20113.5' at '/src/Tools/source-built/Microsoft.DotNet.CoreFxTesting/'
    'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/1.0.0-beta.20113.5' at '/src/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
    
    [SourceBuiltSdkResolver] Overriding Microsoft.NET.Sdk.IL with 'IL'
    
    Error when reading the file: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
       at System.IO.__Error.EndOfFile()
       at System.IO.BinaryReader.ReadString()
       at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildEventArgsFields() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 628
       at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildMessageEventArgs() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 463
       at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.Read() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 95
       at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 78```
    
  5. dagood commented on Mar 9, 2020

    @dagood
    MemberAuthor

    I believe that error is caused by an incomplete binlog, it's not indicating any build problem. So from that info it would seem the CI hangs (or dies?) after our SDK resolver replaces the IL SDK.

  6. adaggarwal commented on Mar 9, 2020

    @adaggarwal
    Member

    I believe that error is caused by an incomplete binlog, it's not indicating any build problem. So from that info it would seem the CI hangs (or dies?) after our SDK resolver replaces the IL SDK.

    Yep. And each timeout occurs at this point, which is interesting.

  7. dseefeld commented on Mar 12, 2020

    @dseefeld
    Contributor

    That's the point where it runs the corefx tests, I think. On a successful build, after that line, it runs for about 4 minutes:

    2020-02-27T18:22:22.0647587Z       SOURCE_BUILT_SDK_DIR_IL=/src/Tools/source-built/Microsoft.NET.Sdk.IL/
    2020-02-27T18:26:52.3198683Z   [18:26:52.31] Building 'corefx'...done
    

    On a failing build, it takes about 2 hours and then times out:

    2020-02-16T06:48:22.1658504Z       SOURCE_BUILT_SDK_DIR_IL=/src/Tools/source-built/Microsoft.NET.Sdk.IL/
    2020-02-16T08:41:48.2414019Z ##[error]The task has timed out.
    
  8. MichaelSimons commented on Oct 18, 2022

    @MichaelSimons
    Member

    [Triage] CoreFX tests are no longer integrated into source-build. The unified build work for .NET 8.0 and 9.0 will make it possible to run any repo's unit tests against source-build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions