Build doesn't stop and runs continuously to download source
Build doesn't stop and runs continuously to download source.
Please find the below build message,
Log
Time Message
5/9/14 6:35 PM Received notification, queuing build
5/9/14 6:35 PM Downloading source
5/9/14 6:35 PM Downloaded source in 11.96 seconds
5/9/14 6:35 PM Starting NuGet package restore
5/9/14 6:35 PM NuGet package restore completed
5/9/14 6:35 PM Starting build
5/9/14 6:35 PM No solution file found, cannot build. Using
repository contents as-is
5/9/14 6:50 PM Downloading source
5/9/14 6:50 PM Downloaded source in 11.12 seconds
5/9/14 6:50 PM Starting NuGet package restore
5/9/14 6:50 PM NuGet package restore completed
5/9/14 6:50 PM Starting build
5/9/14 6:50 PM No solution file found, cannot build. Using
repository contents as-is
5/9/14 7:05 PM Downloading source
5/9/14 7:05 PM Downloaded source in 12.03 seconds
5/9/14 7:05 PM Starting NuGet package restore
5/9/14 7:05 PM NuGet package restore completed
5/9/14 7:05 PM Starting build
5/9/14 7:05 PM No solution file found, cannot build. Using
repository contents as-is
5/9/14 7:20 PM Downloading source
5/9/14 7:20 PM Downloaded source in 11.93 seconds
5/9/14 7:20 PM Starting NuGet package restore
5/9/14 7:20 PM NuGet package restore completed
5/9/14 7:20 PM Starting build
5/9/14 7:20 PM No solution file found, cannot build. Using
repository contents as-is
5/9/14 7:35 PM Downloading source
5/9/14 7:35 PM Downloaded source in 12.42 seconds
5/9/14 7:35 PM Starting NuGet package restore
5/9/14 7:35 PM NuGet package restore completed
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
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 rune on 10 May, 2014 12:19 AM
Hi,
Yes this actually triggered a few errors on our end as well - and the behavior you saw was a result of this (it'll keep retrying until someone takes a look at it). The problem is that one or more paths in your repository are longer than the allowed length - any chance you can reduce filename sizes or unnest the directory hierarchy somehow?
Best,
Rune
2 Posted by Karthiga baskar... on 10 May, 2014 04:48 AM
Thanks for your suggestion. Let me try and post the result.
Support Staff 3 Posted by rune on 11 May, 2014 01:08 AM
Ok great, let me know how it works out!
Best,
Rune
4 Posted by karthiga baskar... on 12 May, 2014 10:01 AM
Oops! no luck, still same error. Please could you guide me how to take it forward.
Support Staff 5 Posted by rune on 12 May, 2014 09:29 PM
Hi,
I took a look and it seems like there have been plenty of recent successful builds on the application I was referring to earlier. Did you do something different with those builds since they didn't fail? Otherwise it'd be great if you could let me know the name of the application you're having issues with.
Best,
Rune
6 Posted by karthigabaskara... on 13 May, 2014 10:44 AM
Application Name: Sailsgigreg
I am trying to deploy my sample sails.js application in Appharbor. Was trying with all possible combinations and found that as soon as I include sails module into the repository my build goes into a loop with the mentioned error message.
Thanks,
Karthiga Baskaran.
Support Staff 7 Posted by rune on 14 May, 2014 04:19 AM
Ok got it - how are you installing sails by the way? Is it a part of the build process or have you checked it into your repository?
Also, is it ok if we take a closer look at your code?
Best,
Rune
8 Posted by karthigabaskara... on 14 May, 2014 08:32 AM
Yes, it s checked in to my repository. Sure, you can have a look into the code.
Thanks & Regards,
Karthiga Baskaran
Support Staff 9 Posted by rune on 16 May, 2014 03:04 AM
Alright I took a closer look and the problem is indeed the length of the path when the sails module is installed. For instance this file is causing issues:
C:\appharbor\temp\u5cx33lp.pq1\output\_PublishedWebsites\WebMatrixWebsite\node_modules\sails\node_modules\grunt-contrib-less\node_modules\less\node_modules\request\node_modules\form-data\node_modules\combined-stream\node_modules\delayed-stream\lib\delayed_stream.jsWindows has a limitation for the fully qualified name of a file to be less than 260 characters. The path above is 265 characters, which causes the issue.
I wonder if there is some other way to bundle this dependency? We can of course also shorten the path to your application
C:\appharbor\temp\u5cx33lp.pq1\output\_PublishedWebsites\WebMatrixWebsite, but it might take a little longer before we can push that update.Best,
Rune
10 Posted by karthigabaskara... on 16 May, 2014 01:33 PM
Thanks Rune for the detailed update. I have updated my application and reduced the mentioned file path characters to around 240, but still I am getting the same loop and the build doesn't happen. Please could you help in checking if any other file path has the same issue.
Support Staff 11 Posted by rune on 16 May, 2014 11:54 PM
Hi,
Hmm I might be missing something, but it doesn't seem that the location of those files have changed (at least according to the recent commit history on your project https://github.com/karthiga/sailsgigref/blob/master/Sails_Gigreg.cs...).
By the way, your application seems to have a production connection string to your database in your repository. Since the project is public this is accessible for anyone who checks out your code. You might want to retrieve the connection string information from your application's AppSettings instead.
Best,
Rune
12 Posted by cdgupta on 12 Jan, 2018 04:26 AM
This comment was split into a new discussion: Build doesn't stop and runs continuously to download source
My build does not seem to stop. Can you please help
rune closed this discussion on 12 Jan, 2018 04:53 AM.
cdgupta re-opened this discussion on 12 Jan, 2018 01:34 PM
13 Posted by cdgupta on 12 Jan, 2018 01:34 PM
This comment was split into a new discussion: Build doesn't stop and runs continuously to download source
I again have a never stopping build. Can you please help me figure out what did I do wrong
rune closed this discussion on 13 Jan, 2018 05:29 AM.