Repeated build failures on a project that caches the nuget package directory
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
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
Support Staff 1 Posted by Feodor Fitsner on 02 Oct, 2014 07:44 AM
Hi Julian,
Will take a look. Is it
packages
directory in the root? Does it have a lot of packages?2 Posted by julian.elve on 02 Oct, 2014 08:40 AM
Yes and yes
Was working fine yesterday, no nee packages since then
Sent from my Windows Phone
________________________________
3 Posted by James Murphy on 02 Oct, 2014 01:34 PM
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
Support Staff 4 Posted by Feodor Fitsner on 02 Oct, 2014 04:53 PM
It's all fixed and should be fine now.
5 Posted by julian.elve on 02 Oct, 2014 05:27 PM
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?
Support Staff 6 Posted by Feodor Fitsner on 02 Oct, 2014 05:33 PM
Sure, let me see.
7 Posted by julian.elve on 02 Oct, 2014 05:35 PM
Thanks – have commented it out again in my yml so I can keep building
8 Posted by James Murphy on 02 Oct, 2014 05:36 PM
We're getting completed builds so the base cause seems to be sorted.
Support Staff 9 Posted by Feodor Fitsner on 02 Oct, 2014 05:40 PM
Julian,
What's the name of problematic project?
10 Posted by julian.elve on 02 Oct, 2014 09:10 PM
SSAT.WebServices (build currently broken by me)
________________________________
Support Staff 11 Posted by Feodor Fitsner on 02 Oct, 2014 11:15 PM
Julian,
I've cleared the cache for that project. Give it another try and let me know how it goes.
12 Posted by julian.elve on 03 Oct, 2014 08:32 AM
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."
Support Staff 13 Posted by Feodor Fitsner on 03 Oct, 2014 02:00 PM
OK, will continue investigating. -Feodor
Support Staff 14 Posted by Feodor Fitsner on 03 Oct, 2014 09:28 PM
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 Posted by julian.elve on 06 Oct, 2014 08:00 AM
Feodor
Confirm that it now works again - thanks for your excellent support!
Julian
julian.elve closed this discussion on 06 Oct, 2014 08:00 AM.