question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting a warning for `getCacheEntry` and `reserveCache`

See original GitHub issue

Hey All,

We are running into a new issue that seemed to start today with the caching action. We are getting the following errors when using the action:

Run actions/cache@v2
/usr/bin/docker exec  555b7c657bc5a13a07b0b7b85f74edb58118f96a5bccb8b1ccb99a3c83a88b42 sh -c "cat /etc/*release | grep ^ID"
Warning: getCacheEntry failed: {"$id":"1","innerException":null,"message":"The user 'System:ServiceIdentity;DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}

and

Post job cleanup.
/usr/bin/docker exec  555b7c657bc5a13a07b0b7b85f74edb58118f96a5bccb8b1ccb99a3c83a88b42 sh -c "cat /etc/*release | grep ^ID"
Warning: reserveCache failed: {"$id":"1","innerException":null,"message":"The user 'System:ServiceIdentity;DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}

This causes an issue in the steps that follow, as the expected cache is not there.

We started seeing the issue today but have not changed anything in the code.

Did something change within the filesystem or the permissions the container has?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:12
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
dhadkacommented, Oct 26, 2020

@javs-perez @davidcalhoun Thanks for reporting. We are aware of the issue and are working on applying a fix. I’ll provide periodic updates in this issue.

6reactions
dhadkacommented, Oct 26, 2020

We verified the fix and are rolling it out to the public AC servers. Expect to see the issue resolved in the next few minutes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cache Stuck · Issue #658 · actions/toolkit - GitHub
Describe the bug All my actions are running, but are refusing to cache with the same error: Post job cleanup. Unable to reserve...
Read more >
getCacheEntry failed: Cache service responded with 503
Seems like the issue is coming from github cache actions. ... the action/cache does the same but only gives warning on the server...
Read more >
FieldCache (Lucene 4.0.0 API)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as a single byte and...
Read more >
java - What is the better way to retrieve value from this cache ...
public <T> T getCacheEntry(String key) { T entry = // get from cache (may need a cast) return entry; }. But Im not...
Read more >
Caching dependencies in GitHub Actions | Lorenzo Bettini
I recently started to port all my Java projects from Travis CI to GitHub Actions, since Travis CI changed its pricing model.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found