[CSHARP-3361] Sporadic tests failures: NuGet restore fails Created: 26/Jan/21  Updated: 28/Oct/23  Resolved: 01/Feb/21

Status: Closed
Project: C# Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Bug Priority: Major - P3
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Testing

 Description   

NuGet restore fails occasionally

Proposed fix: Avoid restoring NuGet packages concurrently in cake script.

C:\Program Files\dotnet\sdk\3.1.402\NuGet.targets(128,5): error : The process cannot access the file 'z:\data\tmp\system.security.cryptography.openssl\4.0.0\.nupkg.metadata' because it is being used by another process.

 

[Variation|https://evergreen.mongodb.com/task/dot_net_driver_unsecure_tests_posix__version~3.2_os~ubuntu_1804_topology~sharded_cluster_auth~noauth_ssl~nossl_test_netstandard21_patch_85a95c33aace3d68ac29c960a7dc27de4940afad_601085a8850e612e0c5fa90b_21_01_26_21_12_53]

 



 Comments   
Comment by Githook User [ 01/Feb/21 ]

Author:

{'name': 'Boris', 'email': 'boris.dogadov@mongodb.com', 'username': 'BorisDog'}

Message: CSHARP-3361: Disable parallel NuGet package restore
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/82e2920a0690fa3f40bab7d4086d2192d563c130

Generated at Wed Feb 07 21:45:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.