Bug 1976

Summary: Problem running bake.py download
Product: bake Reporter: Bryan <bryan.lemon.iccle+nsnam>
Component: bakeAssignee: Daniel Camara <daniel.camara>
Status: RESOLVED INVALID    
Severity: normal CC: bryan.lemon.iccle+nsnam, ns-bugs, tomh
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   

Description Bryan 2014-09-08 01:03:54 UTC
When cloning ns-3.20, I got the following error

hg clone -U http://code.nsnam.org/ns-3.20 .
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly

When I tried to do a bake.py download earlier, I got 

>> Downloading ns-3.20 - 
 hg clone -U http://code.nsnam.org/ns-3.20 /home/wsn/dce/source/ns-3.20 dir=None

 >> Download ns-3.20 - Problem
Subprocess failed with error 255: ['hg', 'clone', '-U', 'http://code.nsnam.org/ns-3.20', '/home/wsn/dce/source/ns-3.20']
 > Error:  Critical dependency, module "ns-3.20" failed 
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)

Thank you,
Bryan
Comment 1 Tom Henderson 2014-09-08 09:30:17 UTC
Bryan, I was unable to reproduce.  I just tried:

$ ./bake.py configure -e ns-3.20
$ ./bake.py download
 >> Searching for system dependency python-dev - OK
 >> Searching for system dependency pygraphviz - OK
 >> Searching for system dependency pygoocanvas - OK
 >> Downloading pybindgen-0.17.0.868 - OK
 >> Searching for system dependency g++ - OK
 >> Searching for system dependency qt4 - OK
 >> Downloading netanim-3.105 - OK
 >> Downloading ns-3.20 - OK

Can you confirm that it was not a temporary internet download failure?  

Try also running with the -v option, or just run the hg clone command outside of bake, and see if you get more information.
Comment 2 Bryan 2014-09-08 10:22:44 UTC
Tom,

Although it happened for a couple hours across multiple machines using multiple ISPs, it is working now. Thanks for your time.