Failed to resolve artifact dependency - Access is denied on random files

Answered

Hi there, 

After upgrading to TC 2017.1.2, we are experiencing this failure on some older jobs, which we haven't touched them for months.

And the failures were randomly on different files. Any ideas on how this could happens?

I put some example logs here:

========

Resolving artifact dependencies (7s)
[15:34:51][Resolving artifact dependencies] Downloading files from <UE4:Kubera :: Staging :: 00 Editor, build #64 [id 863586]>
[15:34:51][Resolving artifact dependencies] Downloading 383 artifacts from <UE4:Kubera :: Staging :: 00 Editor, build #64 [id 863586]>
[15:34:58][Resolving artifact dependencies] Failed to resolve artifact dependency <UE4:Kubera :: Staging :: 00 Editor, build #64 [id 863586]>: Failed to resolve Engine/Plugins/Editor/PluginBrowser/Templates/ThirdPartyLibrary/Binaries/ThirdParty/PLUGIN_NAMELibrary/Win64/ExampleLibrary.dll: C:\BuildAgent\work\c2186dec4b159b32\Kubera\Engine\Plugins\Editor\PluginBrowser\Templates\ThirdPartyLibrary\Binaries\ThirdParty\PLUGIN_NAMELibrary\Win64\ExampleLibrary.dll (Access is denied) (jetbrains.buildServer.artifacts.impl.SourcePathAwareResolvingFailedException)
[15:34:58]Failed to resolve artifacts from <UE4:Kubera :: Staging :: 00 Editor, build #64 [id 863586]>
 
=============
[15:27:45]Resolving artifact dependencies (5s)
[15:27:45][Resolving artifact dependencies] Downloading files from <UE4:Kubera :: DEV :: 00 Editor, build #1628 [id 863556]>
[15:27:45][Resolving artifact dependencies] Downloading 380 artifacts from <UE4:Kubera :: DEV :: 00 Editor, build #1628 [id 863556]>
[15:27:50][Resolving artifact dependencies] Failed to resolve artifact dependency <UE4:Kubera :: DEV :: 00 Editor, build #1628 [id 863556]>: Failed to resolve Engine/Plugins/Experimental/AlembicImporter/Binaries/Win64/zlibd1.dll: C:\BuildAgent\work\44452168c5a9f9cb\Kubera\Engine\Plugins\Experimental\AlembicImporter\Binaries\Win64\zlibd1.dll (Access is denied) (jetbrains.buildServer.artifacts.impl.SourcePathAwareResolvingFailedException)
[15:27:50]Failed to resolve artifacts from <UE4:Kubera :: DEV :: 00 Editor, build #1628 [id 863556]>
 
=======
[15:07:51]Resolving artifact dependencies (5s)
[15:07:51][Resolving artifact dependencies] Downloading files from <UE4:Kubera :: Staging :: 00 Editor, build #63 [id 863570]>
[15:07:51][Resolving artifact dependencies] Downloading 380 artifacts from <UE4:Kubera :: Staging :: 00 Editor, build #63 [id 863570]>
[15:07:56][Resolving artifact dependencies] Failed to resolve artifact dependency <UE4:Kubera :: Staging :: 00 Editor, build #63 [id 863570]>: Failed to resolve Engine/Binaries/Win64/libfbxsdk.dll: C:\BuildAgent\work\c2186dec4b159b32\Kubera\Engine\Binaries\Win64\libfbxsdk.dll (Access is denied) (jetbrains.buildServer.artifacts.impl.SourcePathAwareResolvingFailedException)
[15:07:56]Failed to resolve artifacts from <UE4:Kubera :: Staging :: 00 Editor, build #63 [id 863570]>
 
=====
 
0
2 comments

Hello Daniel,

Does the problem reproduce on all of your build agents? Could you please reproduce the problem with DEBUG log enabled on a build agent and attach the teamcity-agent.log? 

0
Avatar
Permanently deleted user

Hi Nadia, 

after further investigation, we found this was caused by the p4 file type, we changed file type to +w one by one, and then seems we are good so far.

Thanks for your swift responding. I think you can just close this ticket.

 

Best Regards, 

Daniel.

0

Please sign in to leave a comment.