Repeated build failures on a project that caches the nuget package directory

julian.elve's Avatar

julian.elve

Oct 02, 2014 @ 07:22 AM

Hi Feodor and team

This morning seeing repeated build failures on a project that caches the nuget package directory

The error looks like:
"Restoring "packages" from the build cache...Process must exit before requested information can be determined."

e.g. see https://ci.appveyor.com/project/SSAT/ssat-webservices/build/1.0.144

disabling the cache in yml allows the build to proceed

Is this some kind of Azure problem?

regards

Julian

  1. Support Staff 1 Posted by Feodor Fitsner on Oct 02, 2014 @ 07:44 AM

    Feodor Fitsner's Avatar

    Hi Julian,

    Will take a look. Is it packages directory in the root? Does it have a lot of packages?

  2. 2 Posted by julian.elve on Oct 02, 2014 @ 08:40 AM

    julian.elve's Avatar

    Yes and yes

    Was working fine yesterday, no nee packages since then

    Sent from my Windows Phone
    ________________________________

  3. 3 Posted by James Murphy on Oct 02, 2014 @ 01:34 PM

    James Murphy's Avatar

    We're getting an almost identical error but when attempting to cache at the end of the build not when doing the restore at the start

  4. Support Staff 4 Posted by Feodor Fitsner on Oct 02, 2014 @ 04:53 PM

    Feodor Fitsner's Avatar

    It's all fixed and should be fine now.

  5. 5 Posted by julian.elve on Oct 02, 2014 @ 05:27 PM

    julian.elve's Avatar

    seems to be hanging at Restoring "packages" from the build cache...

    is there any way of deleting the cache so I can repopulate it on the next build?

  6. Support Staff 6 Posted by Feodor Fitsner on Oct 02, 2014 @ 05:33 PM

    Feodor Fitsner's Avatar

    Sure, let me see.

  7. 7 Posted by julian.elve on Oct 02, 2014 @ 05:35 PM

    julian.elve's Avatar

    Thanks – have commented it out again in my yml so I can keep building

  8. 8 Posted by James Murphy on Oct 02, 2014 @ 05:36 PM

    James Murphy's Avatar

    We're getting completed builds so the base cause seems to be sorted.

  9. Support Staff 9 Posted by Feodor Fitsner on Oct 02, 2014 @ 05:40 PM

    Feodor Fitsner's Avatar

    Julian,

    What's the name of problematic project?

  10. 10 Posted by julian.elve on Oct 02, 2014 @ 09:10 PM

    julian.elve's Avatar

    SSAT.WebServices (build currently broken by me)

    ________________________________

  11. Support Staff 11 Posted by Feodor Fitsner on Oct 02, 2014 @ 11:15 PM

    Feodor Fitsner's Avatar

    Julian,

    I've cleared the cache for that project. Give it another try and let me know how it goes.

  12. 12 Posted by julian.elve on Oct 03, 2014 @ 08:32 AM

    julian.elve's Avatar

    Hi

    Sadly not working still.

    On first build there was a DNS error message about being unable to resolve a path to an azure blob

    Nuget restore ran, project built, and at the end said it was storing packages in cache.

    Rebuilt same version and it stuck at restoring pacakages from cache, eventually bombing with "7zip process has not finished in 20 minutes."

  13. Support Staff 13 Posted by Feodor Fitsner on Oct 03, 2014 @ 02:00 PM

    Feodor Fitsner's Avatar

    OK, will continue investigating. -Feodor

  14. Support Staff 14 Posted by Feodor Fitsner on Oct 03, 2014 @ 09:28 PM

    Feodor Fitsner's Avatar

    OK, with a little Win API magic I was able to do build cache without 7zip (it's how it was in the first place) but with long paths support.

    I hope it works now for your project. Let me know about results.

  15. 15 Posted by julian.elve on Oct 06, 2014 @ 08:00 AM

    julian.elve's Avatar

    Feodor

    Confirm that it now works again - thanks for your excellent support!

    Julian

  16. julian.elve closed this discussion on Oct 06, 2014 @ 08:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac