# Spurious build success

**URL:** <https://discuss.circleci.com/t/spurious-build-success/16456>\
**Category:** Bug Reports\
**Created:** [September 12, 2017, 7:04pm UTC](https://discuss.circleci.com/t/spurious-build-success/16456 "2017-09-12T19:04:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomhart-ecobee](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@tomhart-ecobee](https://discuss.circleci.com/u/tomhart-ecobee)\
**Post date:** [September 12, 2017, 7:04pm UTC](https://discuss.circleci.com/t/spurious-build-success/16456/1 "2017-09-12T19:04:30Z")

</div>

My build failed the “Restoring Cache” step, and the “gradle dependencies” step is still showing a spinning CircleCI logo.

I cancelled the build because it appeared to be hung. Now the build shows “Success” incorrectly, which unblocks the linked Github PR.

---

<div class="post-metadata">

**Author:** ![jaredledvina](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jaredledvina](https://discuss.circleci.com/u/jaredledvina)\
**Post date:** [September 12, 2017, 11:37pm UTC](https://discuss.circleci.com/t/spurious-build-success/16456/2 "2017-09-12T23:37:18Z")

</div>

I’m also seeing this behaviour with my builds. The restore cache step hangs until the job times out and is canceled.

Example Job: [https://circleci.com/gh/jaredledvina/sensu-client/25](https://circleci.com/gh/jaredledvina/sensu-client/25)

There’s also no logs indicating why this is happening. I also noticed that while it’s canceled the restore cache timer is still ticking up and is at 10 hours and counting. Happy to test any config changes that might help debug the issue.

---

<div class="post-metadata">

**Author:** ![jaredledvina](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jaredledvina](https://discuss.circleci.com/u/jaredledvina)\
**Post date:** [September 23, 2017, 10:06pm UTC](https://discuss.circleci.com/t/spurious-build-success/16456/3 "2017-09-23T22:06:16Z")

</div>

See [Non-deterministic cache-restore behaviour](https://discuss.circleci.com/t/non-deterministic-cache-restore-behaviour/16291/9), seems like this is fixed now

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:35am UTC](https://discuss.circleci.com/t/spurious-build-success/16456/4 "2018-06-18T11:35:09Z")

</div>


