Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Updating runtime version for tests#16271

Merged
noahfalk merged 1 commit into
dotnet:masterfrom
noahfalk:update_lkg_runtime
Feb 8, 2018
Merged

Updating runtime version for tests#16271
noahfalk merged 1 commit into
dotnet:masterfrom
noahfalk:update_lkg_runtime

Conversation

@noahfalk
Copy link
Copy Markdown
Member

@noahfalk noahfalk commented Feb 8, 2018

Change 93ec623 removed Span.NonPortableCast from System.Private.CoreLib.dll requiring tests to use an updated version of System.Memory.dll that no longer refers to it.

This should fix the recent break that occured in JitBench CI. I'm hoping we just got unlucky that CoreCLR took a breaking change last week just as JitBench work finished up, but we'll see how often it continues to occur. Thankfully after changing the perf CI run to record logs in the failure case diagnosing the version mismatch was fairly straightforward.

PTAL @jorive

Change 93ec623 removed Span.NonPortableCast from System.Private.CoreLib.dll requiring tests
to use an updated version of System.Memory.dll that no longer refers to it.
Comment thread dependencies.props
updated manually whenever breaking changes require it to move forward, but it would be nice if we could update it automatically
as we do with many of the package versions above -->
<BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview2-26124-05</BaselineMicrosoftNetCoreAppPackageVersion>
<BaselineMicrosoftNetCoreAppPackageVersion>2.1.0-preview2-26131-06</BaselineMicrosoftNetCoreAppPackageVersion>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How it this version number different from MicrosoftNETCorePlatformsPackageVersion ? Why can't we just use MicrosoftNETCorePlatformsPackageVersion ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I see. This is yet another way to mix and match bits. It is different from how we mix and match for corefx tests (#16263) so we will see different failures for it. I would nice to standardize on just one way to mix match so that we have just one configuration to worry about.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, these scenario tests need a complete dotnet SDK to run. If this scheme was proving to be problematic my next step was likely going to assembling the shared\M.N.A\version directory using whatever scheme the test layout generator uses to build Core_Root. Its not an exact match for the real installer's shared\M.N.A\version directory but its probably close enough that the test wouldn't notice.

Copy link
Copy Markdown

@jorive jorive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@noahfalk noahfalk merged commit 7caf7f3 into dotnet:master Feb 8, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Change dotnet/coreclr@93ec623 removed Span.NonPortableCast from System.Private.CoreLib.dll requiring tests
to use an updated version of System.Memory.dll that no longer refers to it.

Commit migrated from dotnet/coreclr@7caf7f3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants