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

Request was blocked due to exceeding usage of resource 'Count' in namespace. Microsoft.TeamFoundation.Framework.Server.RequestBlockedException #68

Open
pirate opened this issue Oct 30, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@pirate
Copy link

pirate commented Oct 30, 2020

We're getting intermittent failing builds in our project: https://github.com/pirate/ArchiveBox/runs/1328177855 due to what looks like rate-limiting.

Is this indeed rate-limiting of some API call, and if so, can we pay to raise the limits somehow?

Cache already exists: Error: reserveCache failed: Cache already exists. Scope: refs/heads/master, Key: layer-docker-layer-caching-Test workflow-a999e9c532683eea4e357c25d5ca0b8962198287270e2697ecd05c39c06e3e6c, Version: 5192f72cb1ac063c20e96d66c297c3edba75ec90ea8ada0c23da6d323a178d87
Stored layer cache: {"key":"layer-docker-layer-caching-Test workflow-a999e9c532683eea4e357c25d5ca0b8962198287270e2697ecd05c39c06e3e6c","cacheId":-1}
Start storing layer cache: {"layerId":"71ef3f3b3628b91e38dc9f125c6b30570b37c8a0a71ea8f5c1c43c97a54fe6c9","key":"layer-docker-layer-caching-Test workflow-71ef3f3b3628b91e38dc9f125c6b30570b37c8a0a71ea8f5c1c43c97a54fe6c9"}
Error: Unexpected error: Error: reserveCache failed: {"$id":"1","innerException":null,"message":"Request was blocked due to exceeding usage of resource 'Count' in namespace ''.","typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"RequestBlockedException","errorCode":0,"eventId":3000}
Start storing layer cache: {"layerId":"a1ed3daf83da98e06aa3766fa12fc6d4e2b6cacf2a58cd6609b217734b3698b1","key":"layer-docker-layer-caching-Test workflow-a1ed3daf83da98e06aa3766fa12fc6d4e2b6cacf2a58cd6609b217734b3698b1"}
Error: Unexpected error: Error: reserveCache failed: {"$id":"1","innerException":null,"message":"Request was blocked due to exceeding usage of resource 'Count' in namespace ''.","typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"RequestBlockedException","errorCode":0,"eventId":3000}
Start storing layer cache: {"layerId":"e375b26300c04b097ea0c712fdd5746bfbc62f2ca46ad5620f5a88fe2dc2f7e2","key":"layer-docker-layer-caching-Test workflow-e375b26300c04b097ea0c712fdd5746bfbc62f2ca46ad5620f5a88fe2dc2f7e2"}

(this is not urgent, we can live without docker layer caching temporarily)

Thanks!

@pirate pirate added the enhancement New feature or request label Oct 30, 2020
@marcosh
Copy link

marcosh commented Oct 30, 2020

got a similar error in my project

Unexpected error: Error: reserveCache failed: {"$id":"1","innerException":null,"message":"Request was blocked due to exceeding usage of resource 'Count' in namespace ''.","typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"RequestBlockedException","errorCode":0,"eventId":3000}

@dunglas
Copy link

dunglas commented Nov 5, 2020

I'm also experimenting this error on a private project.

@toban
Copy link

toban commented Nov 20, 2020

Was seeing this when all our build jobs were sharing the same cache keys. Splitting them so each job had their own key this seemingly stopped occuring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants