aspnet / aspnet-docker

[Archived] ASP.NET Core Docker images for 1.x. Go to https://github.com/dotnet/dotnet-docker for 2.1 and up.
https://asp.net
719 stars 171 forks source link

NanoServer 1709 test fail due to file permissions #378

Closed natemcmaster closed 6 years ago

natemcmaster commented 6 years ago

On CI, tests for nightly images has been failing with the following error:

2018-02-26T20:09:08.1422346Z >>> docker run --rm --name publish-framework-dependent-app1813741925 -v app1813741925-framework-dependent:C:\publish app1813741925-build dotnet publish --configuration Release --output C:\publish --no-restore
2018-02-26T20:09:11.2221951Z Microsoft (R) Build Engine version 15.5.180.51428 for .NET Core
2018-02-26T20:09:11.2222848Z Copyright (C) Microsoft Corporation. All rights reserved.
2018-02-26T20:09:11.2223138Z 
2018-02-26T20:09:16.9908991Z   test -> C:\test\bin\Release\netcoreapp2.0\test.dll
2018-02-26T20:09:21.9249280Z C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(137,5): error MSB3021: Unable to copy file "obj\Release\netcoreapp2.0\test.dll" to "C:\publish\test.dll". Access to the path 'C:\publish\test.dll' is denied. [C:\test\test.csproj]
2018-02-26T20:09:21.9314693Z C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(137,5): error MSB3021: Unable to copy file "obj\Release\netcoreapp2.0\test.pdb" to "C:\publish\test.pdb". Access to the path 'C:\publish\test.pdb' is denied. [C:\test\test.csproj]
2018-02-26T20:09:21.9631818Z C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(137,5): error MSB3021: Unable to copy file "obj\Release\netcoreapp2.0\test.PrecompiledViews.dll" to "C:\publish\test.PrecompiledViews.dll". Access to the path 'C:\publish\test.PrecompiledViews.dll' is denied. [C:\test\test.csproj]
2018-02-26T20:09:21.9727612Z C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(137,5): error MSB3021: Unable to copy file "obj\Release\netcoreapp2.0\test.PrecompiledViews.pdb" to "C:\publish\test.PrecompiledViews.pdb". Access to the path 'C:\publish\test.PrecompiledViews.pdb' is denied. [C:\test\test.csproj]
natemcmaster commented 6 years ago

Appears to have been an issue with the agents.