Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guarantee that ANCM package dlls are used for back compat tests #10858

Merged
merged 4 commits into from
Jun 6, 2019

Conversation

jkotalik
Copy link
Contributor

@jkotalik jkotalik commented Jun 4, 2019

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2620. Also renames a few projects to avoid confusion.

TL;DR we have tests that use an older version of the AspNetCoreModule, which are copied to a bin folder eventually. These references can race with build outputs from the project build itself. We had a check to look a the full path to the dll and remove all ANCM references from the project build. This broke with dc90e11, which caused flakiness with copying, causing weird test failures like shown above.

@natemcmaster I'm not a fan at all of the solution I came up with. Fundamentally, this all stems from this specific test group referencing M.A.Servers.IntegrationTesting.IIS. Maybe I can conditionally depend on the native components in this specific project instead, such that this race never happens.

@jkotalik jkotalik requested review from BrennanConroy and a team June 4, 2019 21:00
@natemcmaster
Copy link
Contributor

Maybe I can conditionally depend on the native components in this specific project instead, such that this race never happens.

Sounds reasonable to me.

@jkotalik
Copy link
Contributor Author

jkotalik commented Jun 5, 2019

@aspnet-hello
Copy link

This comment was made automatically. If there is a problem contact aspnetcore-build@microsoft.com.

I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2626
https://github.com/aspnet/AspNetCore-Internal/issues/2629
https://github.com/aspnet/AspNetCore-Internal/issues/2572

@jkotalik jkotalik closed this Jun 6, 2019
@jkotalik jkotalik reopened this Jun 6, 2019
@jkotalik jkotalik merged commit d3e90a7 into master Jun 6, 2019
@ghost ghost deleted the jkotalik/guaranteeCopyOrder branch June 6, 2019 03:11
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants