-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Conversation
…en now and again in corefx
It's required to consume the latest packages since I started using the "DotNET" identifier instead of "any". It's not directly related to floating, only that floating causes folks to pick up these new packages which require the new version. Change looks fine to me, we should double check that all the fixes going into beta5 have been integrated into beta6 as well. Once we do that and the build completes, 👍 |
Can we upgrade the Unix DNX version as well? See https://github.com/dotnet/corefx/issues/2002 |
@mmitche you might be able to pick the latest beta5 build instead of beta6 since it looks like not all fixes have been ported to beta6 yet. You can see the specific beta5 versions of packages available by doing: |
@ericstj I'll try that, thanks |
@jasonwilliams200OK this change may fix your issue. |
@ericstj We may be in trouble here, since I got another concurrency issue with this beta5 verison of dnx. |
Where can we see a full log? |
@mmitche, I compiled buildtools with my changes and copied content of this directory:
over:
After that when i built corefx, it fails and msbuild.log shows:
Note that I used dotnet-ci command to build the buildtools: dotnet/buildtools#180 (comment) (which also failed to produce xunit test). Please let me know if you want me to test anything specific? |
@dotnet-bot test this please Altered the jobs to archive a full log |
@jasonwilliams200OK Actually I don't think that will test it properly anyway...The issue being that the netcore project is build from this repo, but published as a separate package from the targets portion of buildtools. Let me look into the right way to test this. I hope this doesn't end up being dependent on the dnx update. |
@dotnet-bot test this please |
@ericstj http://dotnet-ci.cloudapp.net/job/dotnet_corefx_mac_release_prtest/1178/Azure/processDownloadRequest/1178/msbuild.log Is dnx attempting to open the lock file for write always? Doesn't it have internal locking mechanisms to avoid multiple processes attempting to muck with the same files at the same time? System.IO.IOException: The process cannot access the file 'd:\j\workspace\dotnet_corefx_mac_release_prtest\packages\Microsoft.DotNet.BuildTools.1.0.25-prerelease-00053\lib\test-runtime\project.lock.json' because it is being used by another process. (TaskId:1625) |
Previously we had a mutex around this to workaround this bug: aspnet/dnx#1682. Now we don't and we expect DNX to never update the lock files since they are locked. Can you diff old and new to see what it is changing? We might need to just update the lock file in the buildtools package. 😦 I don't want to bring back the mutex. We could bail on concurrent restore and just do it in a batch up front. This is what DNX team recommends. I've been intentionally ignoring that recommendation in order to uncover stress bugs. |
https://github.com/dotnet/corefx/issues/2073 actually helped me understand why DNX is regenerating the lock files. I'll fix this all in one go. |
Replaced by #2111 |
Should solve the dnx deadlock issues seen now and again in corefx. This is also required to be able to float packages to the newest versions.
/cc @ericstj @stephentoub